Date: Thu, 27 Nov 2008 21:05:00 +0100 From: Polytropon <freebsd@edvax.de> To: Mel <fbsd.questions@rachie.is-a-geek.net> Cc: unga888@yahoo.com, freebsd-questions@freebsd.org Subject: Re: getpriority(2) and rtprio(2) implementation Message-ID: <20081127210500.7a792dfe.freebsd@edvax.de> In-Reply-To: <200811262014.02717.fbsd.questions@rachie.is-a-geek.net> References: <903701.74203.qm@web57001.mail.re3.yahoo.com> <200811262014.02717.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Nov 2008 20:14:02 +0100, Mel <fbsd.questions@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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081127210500.7a792dfe.freebsd>