diff options
author | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-01-20 09:17:07 +0000 |
commit | ed72feddcb3cc58c18aff36f4227af3fb11facad (patch) | |
tree | 13c84f0554aefe96321f671bc8860f5e9f184a5a /lib/libc/compat-43 | |
parent | 10aca679734b6819f63019fd7c2ba4e54357c677 (diff) | |
download | FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.zip FreeBSD-src-ed72feddcb3cc58c18aff36f4227af3fb11facad.tar.gz |
Sort sections.
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r-- | lib/libc/compat-43/gethostid.3 | 4 | ||||
-rw-r--r-- | lib/libc/compat-43/setruid.3 | 6 | ||||
-rw-r--r-- | lib/libc/compat-43/sigvec.2 | 66 |
3 files changed, 38 insertions, 38 deletions
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3 index 8d58004..4b5446d 100644 --- a/lib/libc/compat-43/gethostid.3 +++ b/lib/libc/compat-43/gethostid.3 @@ -71,8 +71,6 @@ The hostid should be set or retrieved by use of .Xr gethostname 3 , .Xr sysctl 3 , .Xr sysctl 8 -.Sh BUGS -32 bits for the identifier is too small. .Sh HISTORY The .Fn gethostid @@ -82,3 +80,5 @@ syscalls appeared in .Bx 4.2 and were dropped in .Bx 4.4 . +.Sh BUGS +32 bits for the identifier is too small. diff --git a/lib/libc/compat-43/setruid.3 b/lib/libc/compat-43/setruid.3 index 472e7fb..31228dc 100644 --- a/lib/libc/compat-43/setruid.3 +++ b/lib/libc/compat-43/setruid.3 @@ -56,6 +56,9 @@ sets the real user ID (group ID) of the current process. .Sh RETURN VALUES .Rv -std +.Sh COMPATIBILITY +The use of these calls is not portable. +Their use is discouraged; they will be removed in the future. .Sh ERRORS The functions fail if: .Bl -tag -width Er @@ -63,9 +66,6 @@ The functions fail if: The user is not the super user and the ID specified is not the real or effective ID. .El -.Sh COMPATIBILITY -The use of these calls is not portable. -Their use is discouraged; they will be removed in the future. .Sh SEE ALSO .Xr getgid 2 , .Xr getuid 2 , diff --git a/lib/libc/compat-43/sigvec.2 b/lib/libc/compat-43/sigvec.2 index a3f95e2..4e5cedd 100644 --- a/lib/libc/compat-43/sigvec.2 +++ b/lib/libc/compat-43/sigvec.2 @@ -268,6 +268,39 @@ flag is not available in hence it should not be used if backward compatibility is needed. .Sh RETURN VALUES .Rv -std sigvec +.Sh EXAMPLES +On the +.Tn VAX\-11 +The handler routine can be declared: +.Bd -literal -offset indent +void handler(sig, code, scp) +int sig, code; +struct sigcontext *scp; +.Ed +.Pp +Here +.Fa sig +is the signal number, into which the hardware faults and traps are +mapped as defined below. +The +.Fa code +argument +is either a constant +as given below or, for compatibility mode faults, the code provided by +the hardware (Compatibility mode faults are distinguished from the +other +.Dv SIGILL +traps by having +.Dv PSL_CM +set in the psl). +The +.Fa scp +argument +is a pointer to the +.Fa sigcontext +structure (defined in +.In signal.h ) , +used to restore the context from before the signal. .Sh ERRORS The .Fn sigvec @@ -309,38 +342,5 @@ or .Xr signal 3 , .Xr sigsetops 3 , .Xr tty 4 -.Sh EXAMPLES -On the -.Tn VAX\-11 -The handler routine can be declared: -.Bd -literal -offset indent -void handler(sig, code, scp) -int sig, code; -struct sigcontext *scp; -.Ed -.Pp -Here -.Fa sig -is the signal number, into which the hardware faults and traps are -mapped as defined below. -The -.Fa code -argument -is either a constant -as given below or, for compatibility mode faults, the code provided by -the hardware (Compatibility mode faults are distinguished from the -other -.Dv SIGILL -traps by having -.Dv PSL_CM -set in the psl). -The -.Fa scp -argument -is a pointer to the -.Fa sigcontext -structure (defined in -.In signal.h ) , -used to restore the context from before the signal. .Sh BUGS This manual page is still confusing. |