From 96115b68a963882b5bebe0d6a70e0b5f1d29b151 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 21 Nov 2000 12:03:30 +0000 Subject: 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(-) (limited to 'lib/libcompat') diff --git a/lib/libcompat/4.1/cftime.3 b/lib/libcompat/4.1/cftime.3 index 35505bf..afefee3 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 e676a95..3e573df 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 169b9d2..17c4478 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 564bf5b..6c6bb88 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 e499908..4d380e4 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 40ab8d6..bc8cc5c 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 3a98ed9..fe494f3 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 322413f..16f75cf 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 34d53ff..6101d1a 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 db4d760..4f53da7 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 a58fdb1..3ddf30b 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 -- cgit v1.1