Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2008 20:14:02 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org, unga888@yahoo.com
Subject:   Re: getpriority(2) and rtprio(2) implementation
Message-ID:  <200811262014.02717.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <903701.74203.qm@web57001.mail.re3.yahoo.com>
References:  <903701.74203.qm@web57001.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Mel

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811262014.02717.fbsd.questions>