getpriority(2) and rtprio(2) implementation

Mel fbsd.questions at
Wed Nov 26 11:19:50 PST 2008

On Wednesday 26 November 2008 05:50:21 Unga wrote:

> I need to study the implementation of getpriority(2) and rtprio(2) system
> calls. Appreciate if somebody could point me to where these system calls
> are implemented in FreeBSD source tree, that is, in which file/s.

For future ref:

find /usr/src/sys -name '*.c' -exec grep kern_$name_of_syscall {} +

will catch 99% of the cases.


Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list