getpriority(2) and rtprio(2) implementation
Polytropon
freebsd at edvax.de
Thu Nov 27 12:05:03 PST 2008
On Wed, 26 Nov 2008 20:14:02 +0100, Mel <fbsd.questions at rachie.is-a-geek.net> 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. :-)
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list