Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 2008 07:41:38 +0100
From:      Polytropon <freebsd@edvax.de>
To:        unga888@yahoo.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: getpriority(2) and rtprio(2) implementation
Message-ID:  <20081126074138.13a3f795.freebsd@edvax.de>
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 Tue, 25 Nov 2008 20:50:21 -0800 (PST), Unga <unga888@yahoo.com> wrote:
> Hi all
> 
> 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.

getpriority() in /usr/src/sys/kern/kern_resource.c lines 88 cont.
rtprio() should be around there, too, /usr/src/sys/kern/syscalls.master

I hope this is what you've been asking for. :-)


-- 
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?20081126074138.13a3f795.freebsd>