Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 1996 23:17:01 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        amir@comtrol.com (Amir Farah)
Subject:   Re: timeout() function
Message-ID:  <199611082217.XAA07870@uriah.heep.sax.de>
In-Reply-To: <199611081541.JAA00123@rocket.comtrol.com> from Amir Farah at "Nov 8, 96 09:41:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
As Amir Farah wrote:

> I have a question about the timeout() function in /sys/kern/kern_clock.c file.

RTFM timeout(9):

NAME
     timeout, untimeout - schedule timer events

SYNOPSIS
     #include <sys/systm.h>
     #include <sys/kernel.h>

     typedef void (timeout_t) (void *);

     typedef timeout_t *timeout_func_t;

     void
     timeout(timeout_func_t func, void *arg, int ticks)

     void
     untimeout(timeout_func_t func, void *arg)

[...]

(If you don't have some 2.2 source tree, pick up /usr/src/share/man/man9
from a -current tree.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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