intro(3): fix markup
- Use `Em` with `.It` macro when referring to other libraries, instead of `Xr`. - Use `.Em` instead of `.Xr` when referring to libraries. - Remove commented out lines. MFC after: 1 month Reported by: make manlint Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
fcf7a53cea
commit
3bbc702ffb
@ -28,7 +28,7 @@
|
|||||||
.\" @(#)intro.3 8.1 (Berkeley) 6/5/93
|
.\" @(#)intro.3 8.1 (Berkeley) 6/5/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 5, 1993
|
.Dd March 22, 2017
|
||||||
.Dt INTRO 3
|
.Dt INTRO 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -40,26 +40,16 @@ library functions, their error returns and other
|
|||||||
common definitions and concepts.
|
common definitions and concepts.
|
||||||
Most of these functions are available from the C library,
|
Most of these functions are available from the C library,
|
||||||
.Em libc .
|
.Em libc .
|
||||||
.\" (see
|
|
||||||
.\" .Xr libc 3 ) .
|
|
||||||
Other libraries, such as the math library,
|
Other libraries, such as the math library,
|
||||||
.Em libm ,
|
.Em libm ,
|
||||||
must be indicated at compile time with the
|
must be indicated at compile time with the
|
||||||
.Fl l
|
.Fl l
|
||||||
option of the compiler.
|
option of the compiler.
|
||||||
.\" .Pp
|
|
||||||
.\" A subset of the
|
|
||||||
.\" .Xr libc functions
|
|
||||||
.\" are available from Fortran;
|
|
||||||
.\" they are described separately in
|
|
||||||
.\" .Xr intro 3f .
|
|
||||||
.Pp
|
.Pp
|
||||||
The various libraries (followed by the loader flag):
|
The various libraries (followed by the loader flag):
|
||||||
.Bl -tag -width "libc (-lc)"
|
.Bl -tag -width "libc (-lc)"
|
||||||
.It Xr libc Pq Fl l Ns Ar c
|
.It Em libc Pq Fl l Ns Ar c
|
||||||
Standard C library functions.
|
Standard C library functions.
|
||||||
.\" (See
|
|
||||||
.\" .Xr libc 3 . )
|
|
||||||
When using the C compiler
|
When using the C compiler
|
||||||
.Xr cc 1 ,
|
.Xr cc 1 ,
|
||||||
it is not necessary
|
it is not necessary
|
||||||
@ -67,8 +57,8 @@ to supply the loader flag
|
|||||||
.Fl l Ns Ar c
|
.Fl l Ns Ar c
|
||||||
for these functions.
|
for these functions.
|
||||||
There are several `libraries' or groups of functions included inside of
|
There are several `libraries' or groups of functions included inside of
|
||||||
.Xr libc :
|
.Em libc
|
||||||
the standard
|
: the standard
|
||||||
.Tn I/O
|
.Tn I/O
|
||||||
routines,
|
routines,
|
||||||
database routines,
|
database routines,
|
||||||
@ -77,12 +67,12 @@ string operators,
|
|||||||
character tests and character operators,
|
character tests and character operators,
|
||||||
des encryption routines,
|
des encryption routines,
|
||||||
storage allocation, time functions, signal handling and more.
|
storage allocation, time functions, signal handling and more.
|
||||||
.It Xr libcurses Pq Fl l Ns Ar curses Fl l Ns Ar termcap
|
.It Em libcurses Pq Fl l Ns Ar curses Fl l Ns Ar termcap
|
||||||
Terminal independent screen management routines
|
Terminal independent screen management routines
|
||||||
for two dimensional non-bitmap display terminals.
|
for two dimensional non-bitmap display terminals.
|
||||||
(See
|
(See
|
||||||
.Xr ncurses 3 . )
|
.Xr ncurses 3 . )
|
||||||
.It Xr libcompat Pq Fl l Ns Ar compat
|
.It Em libcompat Pq Fl l Ns Ar compat
|
||||||
Functions which are obsolete but are available for compatibility with
|
Functions which are obsolete but are available for compatibility with
|
||||||
.Bx 4.3 .
|
.Bx 4.3 .
|
||||||
In particular,
|
In particular,
|
||||||
@ -92,45 +82,30 @@ have been included for source code compatibility.
|
|||||||
Use of these routines should, for the most part, be avoided.
|
Use of these routines should, for the most part, be avoided.
|
||||||
The manual page entry for each compatibility routine
|
The manual page entry for each compatibility routine
|
||||||
indicates the proper interface to use.
|
indicates the proper interface to use.
|
||||||
.It Xr libkvm Pq Fl l Ns Ar kvm
|
.It Em libkvm Pq Fl l Ns Ar kvm
|
||||||
Functions used to access kernel memory are in this library.
|
Functions used to access kernel memory are in this library.
|
||||||
They can be used
|
They can be used
|
||||||
against both a running system and a crash dump.
|
against both a running system and a crash dump.
|
||||||
(See
|
(See
|
||||||
.Xr kvm 3 . )
|
.Xr kvm 3 . )
|
||||||
.It Xr libl Pq Fl l Ns Ar l
|
.It Em libl Pq Fl l Ns Ar l
|
||||||
The library for
|
The library for
|
||||||
.Xr lex 1 .
|
.Xr lex 1 .
|
||||||
.\" .It Xr libln
|
.It Em libm Pq Fl l Ns Ar m
|
||||||
.It Xr libm Pq Fl l Ns Ar m
|
|
||||||
The math library,
|
The math library,
|
||||||
.Em libm .
|
.Em libm .
|
||||||
The math library is loaded as needed by the Pascal compiler,
|
The math library is loaded as needed by the Pascal compiler,
|
||||||
.\" .Xr pc 1 ,
|
|
||||||
but not by the C compiler which requires the
|
but not by the C compiler which requires the
|
||||||
.Fl l Ns Ar m
|
.Fl l Ns Ar m
|
||||||
flag.
|
flag.
|
||||||
(See
|
(See
|
||||||
.Xr math 3 . )
|
.Xr math 3 . )
|
||||||
.It Xr libmp Pq Fl l Ns Ar mp
|
.It Em libmp Pq Fl l Ns Ar mp
|
||||||
.\" .It Xr libom
|
.It Em libtermcap Pq Fl l Ns Ar termcap
|
||||||
.\" Old math library.
|
|
||||||
.\" .It Xr libplot Pq Fl l Ns Ar plot
|
|
||||||
.\" Device independent plotting functions.
|
|
||||||
.\" (See
|
|
||||||
.\" .Xr plot 3 . )
|
|
||||||
.\" .It Xr libplotf77 Pq Fl l Ns Ar plotf77
|
|
||||||
.\" The device independent plotting functions for fortran.
|
|
||||||
.\" (See
|
|
||||||
.\" .Xr plot 3 . )
|
|
||||||
.\" .It Xr libresolv Pq Fl l Ns Ar resolv
|
|
||||||
.\" Routines for network address resolution.
|
|
||||||
.It Xr libtermcap Pq Fl l Ns Ar termcap
|
|
||||||
The terminal independent operation library package.
|
The terminal independent operation library package.
|
||||||
(See
|
(See
|
||||||
.Xr termcap 3 . )
|
.Xr termcap 3 . )
|
||||||
.\" .It libvt0.a
|
.It Em liby Pq Fl l Ns Ar y
|
||||||
.It Xr liby Pq Fl l Ns Ar y
|
|
||||||
The library for
|
The library for
|
||||||
.Xr yacc 1 .
|
.Xr yacc 1 .
|
||||||
.El
|
.El
|
||||||
@ -146,17 +121,12 @@ the math library
|
|||||||
the math library compiled for profiling
|
the math library compiled for profiling
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.\" .Xr libc 3 ,
|
|
||||||
.Xr cc 1 ,
|
.Xr cc 1 ,
|
||||||
.Xr ld 1 ,
|
.Xr ld 1 ,
|
||||||
.Xr nm 1 ,
|
.Xr nm 1 ,
|
||||||
.Xr intro 2 ,
|
.Xr intro 2 ,
|
||||||
.Xr math 3 ,
|
.Xr math 3 ,
|
||||||
.Xr stdio 3
|
.Xr stdio 3
|
||||||
.\" .Sh LIST OF FUNCTIONS
|
|
||||||
.\" .Bl -column "strncasecmpxxx" "system"
|
|
||||||
.\" .Sy Name Description
|
|
||||||
.\" .El
|
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
An
|
An
|
||||||
.Nm
|
.Nm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user