getpriority(2) and rtprio(2) implementation

Polytropon freebsd at
Thu Nov 27 12:05:03 PST 2008

On Wed, 26 Nov 2008 20:14:02 +0100, Mel <fbsd.questions at> wrote:
> For future ref:
> find /usr/src/sys -name '*.c' -exec grep kern_$name_of_syscall {} +
> will catch 99% of the cases.

I did check with the Midnight Commander's Meta-? (find):
Search from /usr/src in *.c containing "getpriority",
refined "getpriority(int" to get the function's prototype
and implementation. I'm a lazy guy. :-)

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list