Changed formatting of manpage cross references to use .Xr macro.

Changed all libcompat manpages so that they clearly state that the
documented interface is availiable from libcompat.
(Fixes PR #703)
This commit is contained in:
jtc 1995-01-13 01:15:53 +00:00
parent ca7b8dce12
commit edcbc4e64c
11 changed files with 30 additions and 12 deletions

View File

@ -44,8 +44,8 @@
.Fn ftime "struct timeb *tp"
.Sh DESCRIPTION
.Bf -symbolic
This interface is obsoleted by gettimeofday(2).
.Pp
This interface is obsoleted by
.Xr gettimeofday 2 .
It is available from the compatibility library, libcompat.
.Ef
.Pp

View File

@ -41,8 +41,8 @@
.Fn getpw uid "char *buf"
.Sh DESCRIPTION
.Bf -symbolic
The getpw function is made obsolete by getpwuid(3).
.br
The getpw function is made obsolete by
.Xr getpwuid 3 .
It is available from the compatibility library, libcompat.
.Ef
.Pp

View File

@ -44,7 +44,8 @@
.Fn gtty "int fd" "struct sgttyb *buf"
.Sh DESCRIPTION
.Bf -symbolic
These interfaces are obsoleted by ioctl(2).
These interfaces are obsoleted by
.Xr ioctl 2 .
They are available from the compatibility library, libcompat.
.Ef
.Pp

View File

@ -42,7 +42,8 @@
.Fn vlimit resource value
.Sh DESCRIPTION
.Bf -symbolic
This interface is obsoleted by getrlimit(2).
This interface is obsoleted by
.Xr getrlimit 2 .
It is available from the compatibility library, libcompat.
.Ef
.Pp

View File

@ -42,7 +42,8 @@
.Fn vtimes "struct vtimes *par_vm" "struct vtimes *ch_vm"
.Sh DESCRIPTION
.Bf -symbolic
This interface is obsoleted by getrusage(2).
This interface is obsoleted by
.Xr getrusage 2 .
It is available from the compatibility library, libcompat.
.Ef
.Pp

View File

@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: insque.3,v 1.3 1994/03/12 01:28:56 jtc Exp $
.\" $Id: insque.3,v 1.4 1995/01/13 01:16:12 jtc Exp $
.\"
.Dd August 12, 1993
.Dt INSQUE 3
@ -50,6 +50,10 @@
.Ft void
.Fn remque "struct qelem *elem"
.Sh DESCRIPTION
.Bf -symbolic
These interfaces are available from the compatibility library, libcompat.
.Ef
.Pp
.Fn insque
and
.Fn remque

View File

@ -45,8 +45,8 @@
.Fn lfind "const void *key" "const void *base" "size_t *nelp" "size_t width" "int (*compar)(void *, void *)"
.Sh DESCRIPTION
.Bf -symbolic
This interface was obsolete before it was written.
It is available from the compatibility library, libcompat.
These interfaces were obsolete before they were written.
They are available from the compatibility library, libcompat.
.Ef
.Pp
The functions

View File

@ -45,8 +45,11 @@
.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

View File

@ -42,7 +42,8 @@
.Fn rexec ahost "int inport" "char *user" "char *passwd" "char *cmd" "int *fd2p"
.Sh DESCRIPTION
.Bf -symbolic
This interface is obsoleted by krcmd(3).
This interface is obsoleted by
.Xr krcmd 3 .
It is available from the compatibility library, libcompat.
.Ef
.Pp

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ctermid.3 5.2 (Berkeley) 4/19/91
.\" $Id: cuserid.3,v 1.1 1994/05/19 06:20:26 jtc Exp $
.\" $Id: cuserid.3,v 1.2 1995/01/13 01:16:19 jtc Exp $
.\"
.Dd November 28, 1993
.Dt CUSERID 3
@ -43,6 +43,10 @@
.Ft char *
.Fn cuserid "char *buf"
.Sh DESCRIPTION
.Bf -symbolic
This interface is available from the compatibility library, libcompat.
.Ef
.Pp
The
.Fn cuserid
function returns a character string representation of the user name

View File

@ -49,8 +49,11 @@
.Ft void
.Fn regsub "const regexp *prog" "const char *source" "char *dest"
.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 regcomp ,