Remove text saying "this is available from the compatibility library,
libcompat" in favour of a .Sh LIBRARY section using the .Lb macro. Also add .Bf -symbolic around the text saying "this is obsolete" in re_comp.3. PR: 22675 Submitted by: Mike Meyer <mwm@mired.org> Reviewed by: sheldonh
This commit is contained in:
parent
a8e0cb75cc
commit
b9b9e020c9
@ -41,6 +41,8 @@
|
||||
.Nm cftime
|
||||
.Nm ascftime
|
||||
.Nd convert date and time to string
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <time.h>
|
||||
.Ft int
|
||||
@ -55,7 +57,6 @@ and
|
||||
.Fn ascftime
|
||||
functions are made obsolete by
|
||||
.Xr strftime 3 .
|
||||
They are available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
Use of the functions
|
||||
|
@ -38,6 +38,8 @@
|
||||
.Sh NAME
|
||||
.Nm ftime
|
||||
.Nd get date and time
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/timeb.h>
|
||||
@ -46,8 +48,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
This interface is obsoleted by gettimeofday(2).
|
||||
.Pp
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
@ -38,6 +38,8 @@
|
||||
.Sh NAME
|
||||
.Nm getpw
|
||||
.Nd get name from uid
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Ft int
|
||||
@ -45,7 +47,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The getpw function is made obsolete by getpwuid(3).
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
@ -39,6 +39,8 @@
|
||||
.Nm stty ,
|
||||
.Nm gtty
|
||||
.Nd set and get terminal state (defunct)
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sgtty.h>
|
||||
.Ft int
|
||||
@ -48,7 +50,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
These interfaces are obsoleted by ioctl(2).
|
||||
They are available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
@ -31,13 +31,14 @@
|
||||
.Sh NAME
|
||||
.Nm cfree
|
||||
.Nd free up allocated memory
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Ft void
|
||||
.Fn cfree "void *"
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The cfree function considered obsolete.
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
@ -39,6 +39,8 @@
|
||||
.Nm insque ,
|
||||
.Nm remque
|
||||
.Nd insert/remove element from a queue
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Bd -literal
|
||||
struct qelem {
|
||||
@ -55,7 +57,6 @@ struct qelem {
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
The insque and remque functions are considered obsolete.
|
||||
They are available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
@ -39,6 +39,8 @@
|
||||
.Nm lsearch ,
|
||||
.Nm lfind,
|
||||
.Nd linear searching routines
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Ft char *
|
||||
@ -48,7 +50,6 @@
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
This interface was obsolete before it was written.
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The functions
|
||||
|
@ -39,6 +39,8 @@
|
||||
.Nm re_comp ,
|
||||
.Nm re_exec
|
||||
.Nd regular expression handler
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <unistd.h>
|
||||
.Ft char *
|
||||
@ -46,9 +48,10 @@
|
||||
.Ft int
|
||||
.Fn re_exec "const char *s"
|
||||
.Sh DESCRIPTION
|
||||
.Bf -symbolic
|
||||
This interface is made obsolete by
|
||||
.Xr regex 3 .
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
.Fn re_comp
|
||||
|
@ -38,6 +38,8 @@
|
||||
.Sh NAME
|
||||
.Nm rexec
|
||||
.Nd return stream to a remote command
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Ft int
|
||||
.Fn rexec "char **ahost" "int inport" "char *user" "char *passwd" "char *cmd" "int *fd2p"
|
||||
@ -45,7 +47,6 @@
|
||||
.Bf -symbolic
|
||||
This interface is obsoleted by
|
||||
.Xr rcmd 3 .
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
@ -37,6 +37,8 @@
|
||||
.Sh NAME
|
||||
.Nm cuserid
|
||||
.Nd get user name associated with effective UID
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdio.h>
|
||||
.Ft char *
|
||||
@ -47,7 +49,6 @@ The
|
||||
.Fn cuserid
|
||||
function is made obsolete by
|
||||
.Xr getpwuid 3 .
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The function
|
||||
|
@ -41,6 +41,8 @@
|
||||
.Nm regsub ,
|
||||
.Nm regerror
|
||||
.Nd regular expression handlers
|
||||
.Sh LIBRARY
|
||||
.Lb libcompat
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <regexp.h>
|
||||
.Ft regexp *
|
||||
@ -53,7 +55,6 @@
|
||||
.Bf Sy
|
||||
This interface is made obsolete by
|
||||
.Xr regex 3 .
|
||||
It is available from the compatibility library, libcompat.
|
||||
.Ef
|
||||
.Pp
|
||||
The
|
||||
|
Loading…
Reference in New Issue
Block a user