diff options
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/flock.2 | 1 | ||||
-rw-r--r-- | lib/libc/sys/getitimer.2 | 1 | ||||
-rw-r--r-- | lib/libc/sys/getrusage.2 | 3 | ||||
-rw-r--r-- | lib/libc/sys/profil.2 | 1 | ||||
-rw-r--r-- | lib/libc/sys/sigaction.2 | 1 | ||||
-rw-r--r-- | lib/libc/sys/sigreturn.2 | 1 |
6 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/flock.2 b/lib/libc/sys/flock.2 index e242fc6a3cd..20610d15858 100644 --- a/lib/libc/sys/flock.2 +++ b/lib/libc/sys/flock.2 @@ -41,6 +41,7 @@ .Nd "apply or remove an advisory lock on an open file" .Sh SYNOPSIS .Fd #include <sys/file.h> + .Fd #define LOCK_SH 1 /* shared lock */ .Fd #define LOCK_EX 2 /* exclusive lock */ .Fd #define LOCK_NB 4 /* don't block when locking */ diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2 index 2f22c203ff2..36241281c5a 100644 --- a/lib/libc/sys/getitimer.2 +++ b/lib/libc/sys/getitimer.2 @@ -42,6 +42,7 @@ .Nd get/set value of interval timer .Sh SYNOPSIS .Fd #include <sys/time.h> + .Fd #define ITIMER_REAL 0 .Fd #define ITIMER_VIRTUAL 1 .Fd #define ITIMER_PROF 2 diff --git a/lib/libc/sys/getrusage.2 b/lib/libc/sys/getrusage.2 index b083d3ee783..c3ad36b805e 100644 --- a/lib/libc/sys/getrusage.2 +++ b/lib/libc/sys/getrusage.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrusage.2,v 1.2 1997/03/21 21:27:21 millert Exp $ +.\" $OpenBSD: getrusage.2,v 1.3 1997/09/17 11:54:33 deraadt Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -42,6 +42,7 @@ .Sh SYNOPSIS .Fd #include <sys/time.h> .Fd #include <sys/resource.h> + .Fd #define RUSAGE_SELF 0 .Fd #define RUSAGE_CHILDREN -1 .Ft int diff --git a/lib/libc/sys/profil.2 b/lib/libc/sys/profil.2 index 8cad5857562..8401d68b731 100644 --- a/lib/libc/sys/profil.2 +++ b/lib/libc/sys/profil.2 @@ -43,6 +43,7 @@ .Nm profil .Nd control process profiling .Sh SYNOPSIS +.Fd #include <unistd.h> .Ft int .Fn profil "char *samples" "size_t size" "u_long offset" "u_int scale" .Sh DESCRIPTION diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2 index 9c0143a2002..d62c46b5aa7 100644 --- a/lib/libc/sys/sigaction.2 +++ b/lib/libc/sys/sigaction.2 @@ -42,6 +42,7 @@ .Sh SYNOPSIS .Fd #include <signal.h> .Bd -literal + struct sigaction { void (*sa_handler)(); /* signal handler */ sigset_t sa_mask; /* signal mask to apply */ diff --git a/lib/libc/sys/sigreturn.2 b/lib/libc/sys/sigreturn.2 index d92b3cf55d1..1e7d904f641 100644 --- a/lib/libc/sys/sigreturn.2 +++ b/lib/libc/sys/sigreturn.2 @@ -42,6 +42,7 @@ .Sh SYNOPSIS .Fd #include <signal.h> .Bd -literal + struct sigcontext { int sc_onstack; int sc_mask; |