From b9b9e020c9ccb7816bacb9b236f314e54a6b4df7 Mon Sep 17 00:00:00 2001 From: Ben Smithurst Date: Tue, 21 Nov 2000 12:03:30 +0000 Subject: [PATCH] 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 Reviewed by: sheldonh --- lib/libcompat/4.1/cftime.3 | 3 ++- lib/libcompat/4.1/ftime.3 | 4 ++-- lib/libcompat/4.1/getpw.3 | 3 ++- lib/libcompat/4.1/stty.3 | 3 ++- lib/libcompat/4.3/cfree.3 | 3 ++- lib/libcompat/4.3/insque.3 | 3 ++- lib/libcompat/4.3/lsearch.3 | 3 ++- lib/libcompat/4.3/re_comp.3 | 5 ++++- lib/libcompat/4.3/rexec.3 | 3 ++- lib/libcompat/4.4/cuserid.3 | 3 ++- lib/libcompat/regexp/regexp.3 | 3 ++- 11 files changed, 24 insertions(+), 12 deletions(-) diff --git a/lib/libcompat/4.1/cftime.3 b/lib/libcompat/4.1/cftime.3 index 35505bf28656..afefee31a47c 100644 --- a/lib/libcompat/4.1/cftime.3 +++ b/lib/libcompat/4.1/cftime.3 @@ -41,6 +41,8 @@ .Nm cftime .Nm ascftime .Nd convert date and time to string +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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 diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3 index e676a957c13f..3e573df3199a 100644 --- a/lib/libcompat/4.1/ftime.3 +++ b/lib/libcompat/4.1/ftime.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm ftime .Nd get date and time +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .Fd #include @@ -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 diff --git a/lib/libcompat/4.1/getpw.3 b/lib/libcompat/4.1/getpw.3 index 169b9d291253..17c44783812a 100644 --- a/lib/libcompat/4.1/getpw.3 +++ b/lib/libcompat/4.1/getpw.3 @@ -38,6 +38,8 @@ .Sh NAME .Nm getpw .Nd get name from uid +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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 diff --git a/lib/libcompat/4.1/stty.3 b/lib/libcompat/4.1/stty.3 index 564bf5b68c32..6c6bb882a864 100644 --- a/lib/libcompat/4.1/stty.3 +++ b/lib/libcompat/4.1/stty.3 @@ -39,6 +39,8 @@ .Nm stty , .Nm gtty .Nd set and get terminal state (defunct) +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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 diff --git a/lib/libcompat/4.3/cfree.3 b/lib/libcompat/4.3/cfree.3 index e499908e0c56..4d380e4a2898 100644 --- a/lib/libcompat/4.3/cfree.3 +++ b/lib/libcompat/4.3/cfree.3 @@ -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 diff --git a/lib/libcompat/4.3/insque.3 b/lib/libcompat/4.3/insque.3 index 40ab8d65b63f..bc8cc5c7826b 100644 --- a/lib/libcompat/4.3/insque.3 +++ b/lib/libcompat/4.3/insque.3 @@ -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 diff --git a/lib/libcompat/4.3/lsearch.3 b/lib/libcompat/4.3/lsearch.3 index 3a98ed90d114..fe494f3ac0b7 100644 --- a/lib/libcompat/4.3/lsearch.3 +++ b/lib/libcompat/4.3/lsearch.3 @@ -39,6 +39,8 @@ .Nm lsearch , .Nm lfind, .Nd linear searching routines +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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 diff --git a/lib/libcompat/4.3/re_comp.3 b/lib/libcompat/4.3/re_comp.3 index 322413f99599..16f75cf60409 100644 --- a/lib/libcompat/4.3/re_comp.3 +++ b/lib/libcompat/4.3/re_comp.3 @@ -39,6 +39,8 @@ .Nm re_comp , .Nm re_exec .Nd regular expression handler +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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 diff --git a/lib/libcompat/4.3/rexec.3 b/lib/libcompat/4.3/rexec.3 index 34d53fffd375..6101d1aebc85 100644 --- a/lib/libcompat/4.3/rexec.3 +++ b/lib/libcompat/4.3/rexec.3 @@ -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 diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index db4d760610d3..4f53da77b0f7 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -37,6 +37,8 @@ .Sh NAME .Nm cuserid .Nd get user name associated with effective UID +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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 diff --git a/lib/libcompat/regexp/regexp.3 b/lib/libcompat/regexp/regexp.3 index a58fdb166f1b..3ddf30b29a22 100644 --- a/lib/libcompat/regexp/regexp.3 +++ b/lib/libcompat/regexp/regexp.3 @@ -41,6 +41,8 @@ .Nm regsub , .Nm regerror .Nd regular expression handlers +.Sh LIBRARY +.Lb libcompat .Sh SYNOPSIS .Fd #include .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