diff options
author | bde <bde@FreeBSD.org> | 1998-01-16 18:45:52 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-01-16 18:45:52 +0000 |
commit | 9a32771ecf0ef39669a69e05f9e5ab185fab4a07 (patch) | |
tree | 77fbf45b03ef5c95101003c41d7f903d07fb32d6 /share | |
parent | 69456bf19454040eca2c18174a2103a3b4c1005b (diff) | |
download | FreeBSD-src-9a32771ecf0ef39669a69e05f9e5ab185fab4a07.zip FreeBSD-src-9a32771ecf0ef39669a69e05f9e5ab185fab4a07.tar.gz |
Fixed synopsis again. Too much was blown away by splatting a NetBSD-
based version over the top of the FreeBSD version in rev.1.6.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/timeout.9 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index a3d1b4d..1c9b7f3 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -34,6 +34,8 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" +.\" $Id$ +.\" .Dd September 10, 1996 .Dt TIMEOUT 9 .Os FreeBSD @@ -41,16 +43,18 @@ .Nm timeout .Nd execute a function after a specified length of time .Sh SYNOPSIS -typedef void timeout_t \*(lpvoid *\*(rp; +.Fd #include <sys/types.h> +.Fd #include <sys/systm.h> +.Ft typedef void timeout_t \*(lpvoid *\*(rp; .Ft struct callout_handle -.Fn "timeout" "void (*func)(void *)" "void *arg" "int ticks" +.Fn timeout "timeout_t *func" "void *arg" "int ticks" .Ft void .Fn callout_handle_init "struct callout_handle *" -struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle) +.Li struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle) .Ft void -.Fn "untimeout" "void (*func)(void *)" "void *arg" "struct callout_handle handle" +.Fn untimeout "timeout_t *func" "void *arg" "struct callout_handle handle" .Sh DESCRIPTION The function .Fn timeout |