diff options
| -rw-r--r-- | man2/exit_group.2 | 1 | ||||
| -rw-r--r-- | man2/fallocate.2 | 3 | ||||
| -rw-r--r-- | man2/getdents.2 | 2 | ||||
| -rw-r--r-- | man2/ioctl_list.2 | 1 | ||||
| -rw-r--r-- | man2/nfsservctl.2 | 1 | ||||
| -rw-r--r-- | man2/sched_setaffinity.2 | 1 | ||||
| -rw-r--r-- | man2/set_tid_address.2 | 1 | ||||
| -rw-r--r-- | man2/ustat.2 | 5 | ||||
| -rw-r--r-- | man3/argz_add.3 | 2 | ||||
| -rw-r--r-- | man3/confstr.3 | 1 | ||||
| -rw-r--r-- | man3/envz_add.3 | 1 | ||||
| -rw-r--r-- | man3/getline.3 | 4 | ||||
| -rw-r--r-- | man3/getpwnam.3 | 1 | ||||
| -rw-r--r-- | man3/gets.3 | 1 | ||||
| -rw-r--r-- | man3/getw.3 | 1 | ||||
| -rw-r--r-- | man3/inet_ntop.3 | 1 | ||||
| -rw-r--r-- | man3/inet_pton.3 | 3 | ||||
| -rw-r--r-- | man3/offsetof.3 | 4 | ||||
| -rw-r--r-- | man4/console_ioctl.4 | 22 | ||||
| -rw-r--r-- | man5/termcap.5 | 1 | ||||
| -rw-r--r-- | man7/ascii.7 | 1 | ||||
| -rw-r--r-- | man7/feature_test_macros.7 | 1 | ||||
| -rw-r--r-- | man7/netlink.7 | 6 | ||||
| -rw-r--r-- | man7/operator.7 | 1 | ||||
| -rw-r--r-- | man7/svipc.7 | 16 |
25 files changed, 48 insertions, 34 deletions
diff --git a/man2/exit_group.2 b/man2/exit_group.2 index 7bc999d2a7..86d68daea8 100644 --- a/man2/exit_group.2 +++ b/man2/exit_group.2 @@ -28,6 +28,7 @@ exit_group \- exit all threads in a process .B #include <linux/unistd.h> .sp .BI "void exit_group(int " status ); +.fi .SH DESCRIPTION This system call is equivalent to .BR exit (2) diff --git a/man2/fallocate.2 b/man2/fallocate.2 index fa002d9332..e3c1f4b138 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -10,9 +10,10 @@ fallocate \- manipulate file space .\" FIXME . eventually this #include will probably be something .\" different when support is added in glibc. .B #include <linux/falloc.h> -.PP + .BI "long fallocate(int " fd ", int " mode ", loff_t " offset \ ", loff_t " len "); +.fi .\" FIXME . check later what feature text macros are required in glibc .SH DESCRIPTION .BR fallocate () diff --git a/man2/getdents.2 b/man2/getdents.2 index 13e0fa42c9..c908d994ab 100644 --- a/man2/getdents.2 +++ b/man2/getdents.2 @@ -69,8 +69,8 @@ struct dirent { unsigned short d_reclen; /* length of this \fIdirent\fP */ char d_name [NAME_MAX+1]; /* filename (null-terminated) */ } +.fi .in -.RE .PP .I d_ino is an inode number. diff --git a/man2/ioctl_list.2 b/man2/ioctl_list.2 index b1e2a20375..a170201b05 100644 --- a/man2/ioctl_list.2 +++ b/man2/ioctl_list.2 @@ -686,5 +686,6 @@ SIOCPROTOPRIVATE. 0x00005402 SNDCTL_TMR_START TCSETS 0x00005403 SNDCTL_TMR_STOP TCSETSW 0x00005404 SNDCTL_TMR_CONTINUE TCSETSF +.fi .SH SEE ALSO .BR ioctl (2) diff --git a/man2/nfsservctl.2 b/man2/nfsservctl.2 index dde0adff15..e32304a9a9 100644 --- a/man2/nfsservctl.2 +++ b/man2/nfsservctl.2 @@ -14,6 +14,7 @@ nfsservctl \- syscall interface to kernel nfs daemon .sp .BI "long nfsservctl(int " cmd ", struct nfsctl_arg *" argp , .BI " union nfsctl_res *" resp ); +.fi .SH DESCRIPTION .nf /* diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2 index d7dee5a688..acf84f371c 100644 --- a/man2/sched_setaffinity.2 +++ b/man2/sched_setaffinity.2 @@ -175,7 +175,6 @@ argument. In glibc 2.3.3, the .I cpusetsize argument was removed, but this argument was restored in glibc 2.3.4. -.fi .SH "CONFORMING TO" These system calls are Linux specific. .SH "NOTES" diff --git a/man2/set_tid_address.2 b/man2/set_tid_address.2 index 3684524380..69b0099fa3 100644 --- a/man2/set_tid_address.2 +++ b/man2/set_tid_address.2 @@ -28,6 +28,7 @@ set_tid_address \- set pointer to thread ID .B #include <linux/unistd.h> .sp .BI "long set_tid_address(int *" tidptr ); +.fi .SH DESCRIPTION The kernel keeps for each process two values called .I set_child_tid diff --git a/man2/ustat.2 b/man2/ustat.2 index 81aad54832..9b1e90c1f3 100644 --- a/man2/ustat.2 +++ b/man2/ustat.2 @@ -37,6 +37,7 @@ ustat \- get file system statistics .BR "#include <ustat.h>" " /* glibc2 */" .sp .BI "int ustat(dev_t " dev ", struct ustat *" ubuf ); +.fi .SH DESCRIPTION .BR ustat () returns information about a mounted file system. @@ -46,7 +47,7 @@ a mounted file system. .I ubuf is a pointer to a \fIustat\fP structure that contains the following members: -.RS +.in +4n .nf daddr_t f_tfree; /* Total free blocks */ @@ -54,7 +55,7 @@ ino_t f_tinode; /* Number of free inodes */ char f_fname[6]; /* Filsys name */ char f_fpack[6]; /* Filsys pack name */ .fi -.RE +.in .PP The last two fields, .I f_fname diff --git a/man3/argz_add.3 b/man3/argz_add.3 index 98a89c0f52..b4e65146d3 100644 --- a/man3/argz_add.3 +++ b/man3/argz_add.3 @@ -10,7 +10,6 @@ argz_create_sep, argz_delete, argz_extract, argz_insert, argz_next, argz_replace, argz_stringify \- functions to handle an argz list .SH SYNOPSIS .nf -.sp .B "#include <argz.h>" .sp .BI "error_t argz_add(char **" argz ", size_t *" argz_len \ @@ -50,6 +49,7 @@ argz_next, argz_replace, argz_stringify \- functions to handle an argz list .BI "const char *" with ", unsigned int *" replace_count ); .sp .BI "void argz_stringify(char *" argz ", size_t " len ", int " sep ); +.fi .SH DESCRIPTION These functions are glibc-specific. .LP diff --git a/man3/confstr.3 b/man3/confstr.3 index 788556ee03..43cdddc0d5 100644 --- a/man3/confstr.3 +++ b/man3/confstr.3 @@ -140,6 +140,7 @@ if (pathbuf == NULL) abort(); confstr(_CS_PATH, pathbuf, n); .in +.fi .SH "SEE ALSO" .BR sh (1), .BR exec (3), diff --git a/man3/envz_add.3 b/man3/envz_add.3 index b6c0ba7982..5c584e3270 100644 --- a/man3/envz_add.3 +++ b/man3/envz_add.3 @@ -30,6 +30,7 @@ envz_remove, envz_strip \- environment string support ", const char *" name ); .sp .BI "void envz_strip(char **" envz ", size_t *" envz_len ); +.fi .SH DESCRIPTION These functions are glibc-specific. .LP diff --git a/man3/getline.3 b/man3/getline.3 index 8b97782471..5e641116d6 100644 --- a/man3/getline.3 +++ b/man3/getline.3 @@ -31,7 +31,9 @@ getline, getdelim \- delimited string input .sp .BI "ssize_t getline(char **" lineptr ", size_t *" n ", FILE *" stream ); -.BI "ssize_t getdelim(char **" lineptr ", size_t *" n ", int " delim ", FILE *" stream ); +.BI "ssize_t getdelim(char **" lineptr ", size_t *" n ", int " delim \ +", FILE *" stream ); +.fi .SH DESCRIPTION .BR getline () reads an entire line from \fIstream\fP, diff --git a/man3/getpwnam.3 b/man3/getpwnam.3 index be98ec3677..a53762139e 100644 --- a/man3/getpwnam.3 +++ b/man3/getpwnam.3 @@ -184,7 +184,6 @@ Insufficient buffer space supplied. .TP .I /etc/passwd local password database file -.fi .SH "CONFORMING TO" SVr4, 4.3BSD, POSIX.1-2001 .SH NOTES diff --git a/man3/gets.3 b/man3/gets.3 index a802cc1056..21526e53df 100644 --- a/man3/gets.3 +++ b/man3/gets.3 @@ -40,6 +40,7 @@ fgetc, fgets, getc, getchar, gets, ungetc \- input of characters and strings .BI "char *gets(char *" "s" ); .BI "int ungetc(int " c ", FILE *" stream ); +.fi .SH DESCRIPTION .BR fgetc () reads the next character from diff --git a/man3/getw.3 b/man3/getw.3 index 26e28baf77..dfcaca469d 100644 --- a/man3/getw.3 +++ b/man3/getw.3 @@ -30,6 +30,7 @@ getw, putw \- input and output of words (ints) .BI "int getw(FILE *" stream ); .BI "int putw(int " w ", FILE *" stream ); +.fi .SH DESCRIPTION .BR getw () reads a word (that is, an \fIint\fP) from \fIstream\fP. diff --git a/man3/inet_ntop.3 b/man3/inet_ntop.3 index 5e544dcee2..d86909a722 100644 --- a/man3/inet_ntop.3 +++ b/man3/inet_ntop.3 @@ -32,6 +32,7 @@ inet_ntop \- Parse network address structures .sp .BI "const char *inet_ntop(int " "af" ", const void *" "src" , .BI " char *" "dst" ", socklen_t " "cnt" ); +.fi .SH DESCRIPTION This function converts the network address structure .I src diff --git a/man3/inet_pton.3 b/man3/inet_pton.3 index 1eda2884fa..33216f789a 100644 --- a/man3/inet_pton.3 +++ b/man3/inet_pton.3 @@ -29,8 +29,9 @@ inet_pton \- Create a network address structure .B #include <sys/types.h> .B #include <sys/socket.h> .B #include <arpa/inet.h> -.sp + .BI "int inet_pton(int " "af" ", const char *" "src" ", void *" "dst" ); +.fi .SH DESCRIPTION This function converts the character string .I src diff --git a/man3/offsetof.3 b/man3/offsetof.3 index b07a5a6db2..24fb3efa2d 100644 --- a/man3/offsetof.3 +++ b/man3/offsetof.3 @@ -58,13 +58,13 @@ C89, C99, POSIX.1-2001. On a Linux/x86 system, when compiled using the default .BR gcc (1) options, the program below produces the following output: -.fi +.nf $ ./a.out offsets: i=0; c=4; d=8 a=16 sizeof(struct s)=16 -.nf +.fi .nf #include <stddef.h> #include <stdio.h> diff --git a/man4/console_ioctl.4 b/man4/console_ioctl.4 index 00667b226b..982d0d1311 100644 --- a/man4/console_ioctl.4 +++ b/man4/console_ioctl.4 @@ -160,9 +160,12 @@ points to a .in +4n .nf struct consolefontdesc { - unsigned short charcount; /* characters in font (256 or 512) */ - unsigned short charheight; /* scan lines per character (1-32) */ - char *chardata; /* font data in expanded form */ + unsigned short charcount; /* characters in font + (256 or 512) */ + unsigned short charheight; /* scan lines per + character (1-32) */ + char *chardata; /* font data in + expanded form */ }; .fi .in @@ -335,6 +338,7 @@ struct kbdiacr { unsigned char base; unsigned char result; }; +.fi .in .IP \fBKDGETKEYCODE\fP Read kernel keycode table entry (scan code to keycode). @@ -445,10 +449,14 @@ Set the kernel's idea of various screen parameters. struct vt_consize { unsigned short v_rows; /* number of rows */ unsigned short v_cols; /* number of columns */ - unsigned short v_vlin; /* number of pixel rows on screen */ - unsigned short v_clin; /* number of pixel rows per character */ - unsigned short v_vcol; /* number of pixel columns on screen */ - unsigned short v_ccol; /* number of pixel columns per character */ + unsigned short v_vlin; /* number of pixel rows + on screen */ + unsigned short v_clin; /* number of pixel rows + per character */ + unsigned short v_vcol; /* number of pixel columns + on screen */ + unsigned short v_ccol; /* number of pixel columns + per character */ }; .fi .in diff --git a/man5/termcap.5 b/man5/termcap.5 index 960971bc1b..ec3a133aa2 100644 --- a/man5/termcap.5 +++ b/man5/termcap.5 @@ -89,6 +89,7 @@ Head line: Vt|vt101-w|DEC VT 101 terminal in (wide) 132 character mode:\e Boolean: :bs:\e Numeric: :co#80:\e String: :sr=\eE[H:\e +.fi .SS "Boolean Capabilities" .nf 5i Printer will not echo on screen diff --git a/man7/ascii.7 b/man7/ascii.7 index 791c89be4c..e900994d0a 100644 --- a/man7/ascii.7 +++ b/man7/ascii.7 @@ -117,7 +117,6 @@ _ 076 62 3E > 176 126 7E ~ 077 63 3F ? 177 127 7F DEL .TE -.fi .if t \{\ .in .ft P diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7 index 00cf8031c0..45b95767ae 100644 --- a/man7/feature_test_macros.7 +++ b/man7/feature_test_macros.7 @@ -29,6 +29,7 @@ feature_test_macros \- feature test macros .SH SYNOPSIS .nf .B #include <features.h> +.fi .SH DESCRIPTION Feature test macros allow the programmer to control the definitions that are exposed by system header files when a program is compiled. diff --git a/man7/netlink.7 b/man7/netlink.7 index 527da096aa..58835fe8d6 100644 --- a/man7/netlink.7 +++ b/man7/netlink.7 @@ -10,13 +10,11 @@ netlink \- Communication between kernel and userspace (PF_NETLINK) .SH SYNOPSIS .nf .B #include <asm/types.h> -.br .B #include <sys/socket.h> -.br .B #include <linux/netlink.h> -.br -.PP + .BI "netlink_socket = socket(PF_NETLINK, " socket_type ", " netlink_family ); +.fi .SH DESCRIPTION Netlink is used to transfer information between kernel and userspace processes. diff --git a/man7/operator.7 b/man7/operator.7 index ba90226ffb..3d8c42e678 100644 --- a/man7/operator.7 +++ b/man7/operator.7 @@ -38,7 +38,6 @@ .TH OPERATOR 7 2007-12-08 "Linux" "Linux Programmer's Manual" .SH NAME C operator \- C operator precedence and order of evaluation -.fi .SH DESCRIPTION This manual page lists C operators and their precedence in evaluation. .nf diff --git a/man7/svipc.7 b/man7/svipc.7 index e15ae3b6ed..346966e806 100644 --- a/man7/svipc.7 +++ b/man7/svipc.7 @@ -27,16 +27,12 @@ svipc \- System V interprocess communication mechanisms .SH SYNOPSIS .nf -.B -#include <sys/types.h> -.B -#include <sys/ipc.h> -.B -#include <sys/msg.h> -.B -#include <sys/sem.h> -.B -#include <sys/shm.h> +.B #include <sys/types.h> +.B #include <sys/ipc.h> +.B #include <sys/msg.h> +.B #include <sys/sem.h> +.B #include <sys/shm.h> +.fi .SH DESCRIPTION This manual page refers to the Linux implementation of the System V interprocess communication mechanisms: |
