From owner-freebsd-hackers Mon Apr 9 3:29:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 5C3C237B424 for ; Mon, 9 Apr 2001 03:29:06 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 8745 invoked by uid 1000); 9 Apr 2001 10:27:50 -0000 Date: Mon, 9 Apr 2001 13:27:49 +0300 From: Peter Pentchev To: =?windows-1251?B?qkytXrZX?= Cc: Freebsd-Hackers Subject: Re: Who call setitimer( )? Message-ID: <20010409132749.A62577@ringworld.oblivion.bg> Mail-Followup-To: =?windows-1251?B?qkytXrZX?= , Freebsd-Hackers References: <200104071907.DAA07463@cslab.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200104071907.DAA07463@cslab.csie.ntu.edu.tw>; from r88074@csie.ntu.edu.tw on Sun, Apr 08, 2001 at 03:07:25AM +0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Apr 08, 2001 at 03:07:25AM +0800, ªL­^¶W wrote: > Dear all: > I trace the FreeBSD kernel source , and I can't find program call the > function "setitimer()", > > Is it a callout function to call it ? I will appreciate if anyone give > me some advice setitimer() is defined in sys/kern/kern_time.c. If you're looking for parts of the kernel that *call* setitimer(), well, there aren't too many of those (except for the Linux/SVR4/OSF emulators) - setitimer() is a system call, designed to be called from userland programs. man 2 setitimer for more details. G'luck, Peter -- I had to translate this sentence into English because I could not read the original Sanskrit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message