mirror of https://github.com/mkerrisk/man-pages
Remove exstraneous .sp macros.
This commit is contained in:
parent
2b53dd031e
commit
984886049d
7
Changes
7
Changes
|
@ -318,6 +318,13 @@ xdr.3
|
|||
mtk
|
||||
Removed .SM macros.
|
||||
|
||||
madvise.2
|
||||
getdirentries.3
|
||||
printf.3
|
||||
sigvec.3
|
||||
mtk
|
||||
Remove extraneous .br macro before/after .SH/.SS.
|
||||
|
||||
Typographical or grammatical errors have been corrected in several places.
|
||||
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ was always required.)
|
|||
The _syscall() macros \fIdo not\fP produce a prototype.
|
||||
You may have to
|
||||
create one, especially for C++ users.
|
||||
.sp
|
||||
|
||||
System calls are not required to return only positive or negative error
|
||||
codes.
|
||||
You need to read the source to be sure how it will return errors.
|
||||
|
@ -117,7 +117,6 @@ passed by-value or by-pointer (for aggregates like structs).
|
|||
.\" Otherwise, the use of a _syscall macro is required.
|
||||
.\"
|
||||
.SH EXAMPLE
|
||||
.sp
|
||||
.nf
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
.SH NAME
|
||||
lookup_dcookie \- return a directory entry's path
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.BI "int lookup_dcookie(u64 " cookie ", char *" buffer ", size_t " len );
|
||||
.SH DESCRIPTION
|
||||
Look up the full path of the directory entry specified by the value
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
aio_cancel \- cancel an outstanding asynchronous I/O request
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <aio.h>"
|
||||
.sp
|
||||
.BI "int aio_cancel(int " fd ", struct aiocb *" aiocbp );
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
aio_error \- get error status of asynchronous I/O operation
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <aio.h>"
|
||||
.sp
|
||||
.BI "int aio_error(const struct aiocb *" aiocbp );
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
aio_fsync \- asynchronous file synchronization
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <aio.h>"
|
||||
.sp
|
||||
.BI "int aio_fsync(int " op ", struct aiocb *" aiocbp );
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
aio_read \- asynchronous read
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <aio.h>"
|
||||
.sp
|
||||
.BI "int aio_read(struct aiocb *" aiocbp );
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
aio_return \- get return status of asynchronous I/O operation
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <aio.h>"
|
||||
.sp
|
||||
.BI "ssize_t aio_return(struct aiocb *" aiocbp );
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
aio_write \- asynchronous write
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <aio.h>"
|
||||
.sp
|
||||
.BI "int aio_write(struct aiocb *" aiocbp );
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
.SH NAME
|
||||
canonicalize_file_name \- return the canonicalized filename
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B #define _GNU_SOURCE
|
||||
.br
|
||||
.B #include <stdlib.h>
|
||||
|
|
|
@ -9,26 +9,25 @@ envz_add, envz_entry, envz_get, envz_merge,
|
|||
envz_remove, envz_strip \- environment string support
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.sp
|
||||
.B "#include <envz.h>"
|
||||
.sp
|
||||
|
||||
.BI "error_t envz_add(char **" envz ", size_t *" envz_len ,
|
||||
.ti 20n
|
||||
.BI "const char *" name ", const char *" value );
|
||||
.sp
|
||||
|
||||
.BI "char *envz_entry(const char *" envz ", size_t *" envz_len \
|
||||
", const char *" name );
|
||||
.sp
|
||||
|
||||
.BI "char *envz_get(const char *" envz ", size_t *" envz_len \
|
||||
", const char *" name );
|
||||
.sp
|
||||
|
||||
.BI "error_t envz_merge(char **" envz ", size_t *" envz_len ,
|
||||
.ti 20n
|
||||
.BI "const char *" envz2 ", size_t " envz2_len ", int " override );
|
||||
.sp
|
||||
|
||||
.BI "void envz_remove(char **" envz ", size_t *" envz_len \
|
||||
", const char *" name );
|
||||
.sp
|
||||
|
||||
.BI "void envz_strip(char **" envz ", size_t *" envz_len );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
|
@ -115,7 +114,6 @@ if an allocation error occurs.
|
|||
These functions are a GNU extension.
|
||||
Handle with care.
|
||||
.SH EXAMPLE
|
||||
.sp
|
||||
.nf
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
.SH NAME
|
||||
getgrouplist \- list of groups a user belongs to
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B #include <grp.h>
|
||||
.sp
|
||||
.BI "int getgrouplist(const char *" user ", gid_t " group ,
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
.SH NAME
|
||||
getttyent, getttynam, setttyent, endttyent \- get ttys file entry
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <ttyent.h>"
|
||||
.sp
|
||||
.B "struct ttyent *getttyent(void);"
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
key_decryptsession, key_encryptsession, key_setsecret, key_gendes,
|
||||
key_secretkey_is_set \- interfaces to rpc keyserver daemon
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <rpc/rpc.h>"
|
||||
.sp
|
||||
.BI "int key_decryptsession(const char *" remotename ,
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
.SH NAME
|
||||
mtrace, muntrace \- malloc debugging
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <mcheck.h>"
|
||||
.sp
|
||||
.B "void mtrace(void);"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
tcgetpgrp, tcsetpgrp \- get and set terminal foreground process group
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <unistd.h>"
|
||||
.sp
|
||||
.BI "pid_t tcgetpgrp(int " fd );
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
.SH NAME
|
||||
tcgetsid \- get session ID
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B #define _XOPEN_SOURCE 500
|
||||
.br
|
||||
.B "#include <termios.h>"
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
.SH NAME
|
||||
ttyslot \- find the slot of the current user's terminal in some file
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.BR "#include <unistd.h>" " /* on BSD-like systems, and Linux */"
|
||||
.br
|
||||
.BR "#include <stdlib.h>" " /* on System V-like systems */"
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
.SH NAME
|
||||
tty ioctl \- ioctls for terminals and serial lines
|
||||
.SH SYNOPSIS
|
||||
.sp
|
||||
.B "#include <termios.h>"
|
||||
.sp
|
||||
.BI "int ioctl(int " fd ", int " cmd ", ...);"
|
||||
|
@ -390,7 +389,6 @@ For the
|
|||
ioctl, see
|
||||
.BR console_ioctl (4).
|
||||
.SS "Kernel debugging"
|
||||
.sp
|
||||
.B "#include <linux/tty.h>"
|
||||
.TP
|
||||
.BI "TIOCTTYGSTRUCT struct tty_struct *" argp
|
||||
|
@ -400,7 +398,6 @@ corresponding to
|
|||
.IR fd .
|
||||
.\"
|
||||
.\" .SS "Serial info"
|
||||
.\" .sp
|
||||
.\" .BR "#include <linux/serial.h>"
|
||||
.\" .sp
|
||||
.\" .TP
|
||||
|
|
Loading…
Reference in New Issue