]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ioctl_list.2, sched_yield.2, vm86.2, backtrace.3, catopen.3, daemon.3, dl_iterate_phd...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 7 Jun 2013 16:00:11 +0000 (18:00 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Jun 2013 13:00:52 +0000 (15:00 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
17 files changed:
man2/ioctl_list.2
man2/sched_yield.2
man2/vm86.2
man3/backtrace.3
man3/catopen.3
man3/daemon.3
man3/dl_iterate_phdr.3
man3/fnmatch.3
man3/getfsent.3
man3/glob.3
man3/grantpt.3
man3/infnan.3
man3/putgrent.3
man3/setaliasent.3
man3/shm_open.3
man3/stdin.3
man4/ttyS.4

index bab8579afa2e9e67c68244ae80bfa47e570220ac..acf73cd400cb3a313b1263cfa363fe50b504609e 100644 (file)
@@ -85,7 +85,8 @@ followed by an 8-bit type (collecting the ioctls in groups
 for a common purpose or a common driver), and an 8-bit
 serial number.
 .LP
-The macros describing this structure live in \fI<asm/ioctl.h>\fP
+The macros describing this structure live in
+.I <asm/ioctl.h>
 and are
 .B _IO(type,nr)
 and
index 77c395bb0e448efdbea629536730ff34bc298b4b..89cf79c900d22a877cca8ee9aa42d5610b7ca442 100644 (file)
@@ -61,7 +61,8 @@ POSIX systems on which
 .BR sched_yield ()
 is available define
 .B _POSIX_PRIORITY_SCHEDULING
-in \fI<unistd.h>\fP.
+in
+.IR <unistd.h> .
 
 Strategic calls to
 .BR sched_yield ()
index ce8177c042a717a0bfe81ea6eba01f5f16d852e3..b52b542f4f41ca4083a56afa46da87b17f90a73f 100644 (file)
@@ -41,7 +41,9 @@ In Linux 2.1.15 and 2.0.28 it was renamed to
 and a new
 .BR vm86 ()
 was introduced.
-The definition of \fIstruct vm86_struct\fP was changed
+The definition of
+.IR "struct vm86_struct"
+was changed
 in 1.1.8 and 1.1.9.
 .LP
 These calls cause the process to enter VM86 mode (virtual-8086 in Intel
index 85ce885bb1f8ff357a4a7a47f514b97f6702e91c..1b21794c4a00ed6bde40f1aa6a41e80be409a192 100644 (file)
@@ -56,7 +56,9 @@ A backtrace is the series of currently active function calls for
 the program.
 Each item in the array pointed to by
 .I buffer
-is of type \fIvoid *\fP, and is the return address from
+is of type
+.IR "void\ *" ,
+and is the return address from
 the corresponding stack frame.
 The
 .I size
index 62d292985b85dc7eba045cf733b8567a12726ea2..1563e5dc3d4c3fbec32d63b57f5237df5645d68c 100644 (file)
@@ -115,7 +115,8 @@ The function
 returns a message catalog descriptor of type
 .I nl_catd
 on success.
-On failure, it returns \fI(nl_catd)\ \-1\fP
+On failure, it returns
+.IR "(nl_catd)\ \-1"
 and sets
 .I errno
 to indicate the error.
index 0fe77e396ae70f8a52a7caf2fcbb566ba3988df1..9c8215b64777ec0defee556efe387beeda503f7a 100644 (file)
@@ -67,7 +67,8 @@ If
 is zero,
 .BR daemon ()
 redirects standard input, standard output and standard error
-to \fI/dev/null\fP;
+to
+.IR /dev/null ;
 otherwise, no changes are made to these file descriptors.
 .SH RETURN VALUE
 (This function forks, and if the
index 316d5e8b713fe7b341917767f32568ddf406435f..d57bf66267e65b5cc5cd7a7179a23350095acce4 100644 (file)
@@ -30,11 +30,10 @@ dl_iterate_phdr \- walk through list of shared objects
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
 .B #include <link.h>
 
-\fBint dl_iterate_phdr(\fP
-          \fBint (*\fPcallback\fB) \
-(struct dl_phdr_info *\fPinfo\fB,\fP
-                           \fBsize_t\fP size\fB, void *\fPdata\fB),\fP
-          \fBvoid *\fPdata\fB);\fP
+.BI "int dl_iterate_phdr("
+.BI "          int (*" callback ") (struct dl_phdr_info *" info ,
+.BI "                           size_t " size ", void *" data ,
+.BI "          void *" data ;
 .fi
 .SH DESCRIPTION
 The
index 508bec6640244ee5a23a0b93f2e325a7a85ccc9d..b743d5dc09114e6eba093ae09152ee1c960e960b 100644 (file)
@@ -72,7 +72,8 @@ or if both
 is set and the period immediately follows a slash.
 .TP
 .B FNM_FILE_NAME
-This is a GNU synonym for \fBFNM_PATHNAME\fR.
+This is a GNU synonym for
+.BR FNM_PATHNAME .
 .TP
 .B FNM_LEADING_DIR
 If this flag (a GNU extension) is set, the pattern is considered to be
index cb3ac40786056beb9631d240cb6bf1840dccfc89..00f895761c62c8e3c1ae0ccb1b61fc9c65887e3c 100644 (file)
@@ -42,7 +42,9 @@ getfsent, getfsspec, getfsfile, setfsent, endfsent \- handle fstab entries
 .SH DESCRIPTION
 These functions read from the file
 .IR /etc/fstab .
-The \fIstruct fstab\fP is defined by:
+The
+.IR "struct fstab"
+is defined by:
 .LP
 .in +4n
 .nf
@@ -100,7 +102,9 @@ Upon success, the functions
 .BR getfsfile (),
 and
 .BR getfsspec ()
-return a pointer to a \fIstruct fstab\fP, while
+return a pointer to a
+.IR "struct fstab" ,
+while
 .BR setfsent ()
 returns 1.
 Upon failure or end-of-file, these functions return NULL and 0, respectively.
@@ -114,8 +118,10 @@ Several operating systems have them,
 e.g., *BSD, SunOS, Digital UNIX, AIX (which also has a
 .BR getfstype ()).
 HP-UX has functions of the same names,
-that however use a \fIstruct checklist\fP
-instead of a \fIstruct fstab\fP,
+that however use a
+.IR "struct checklist"
+instead of a
+.IR "struct fstab" ,
 and calls these functions obsolete, superseded by
 .BR getmntent (3).
 .SH NOTES
index 66935b2c5e7a4efeb05d8ca084412bec647a6d62..e4bf7b68272d63fff42f23c3c26cf1506b5c4c28 100644 (file)
@@ -159,7 +159,8 @@ functions.
 .B GLOB_BRACE
 Expand
 .BR csh (1)
-style brace expressions of the form \fB{a,b}\fR.
+style brace expressions of the form
+.BR {a,b} .
 Brace expressions can be nested.
 Thus, for example, specifying the pattern
 "{foo/{,cat,dog},bar}" would return the same results as four separate
@@ -253,7 +254,9 @@ on the second and later invocations.
 .PP
 As a GNU extension,
 .I pglob\->gl_flags
-is set to the flags specified, \fBor\fRed with
+is set to the flags specified,
+.BR or ed
+with
 .B GLOB_MAGCHAR
 if any metacharacters were found.
 .SH RETURN VALUE
index 5870df1a363b5de3bcc296d44a8fed007768cda1..7cc0de02fafb678acc0c58b5e13f6490464b40ea 100644 (file)
@@ -20,7 +20,8 @@ function changes the mode and owner of the slave pseudoterminal device
 corresponding to the master pseudoterminal referred to by
 .IR fd .
 The user ID of the slave is set to the real UID of the calling process.
-The group ID is set to an unspecified value (e.g., \fItty\fP).
+The group ID is set to an unspecified value (e.g.,
+.IR tty ).
 The mode of the slave is set to 0620 (crw\-\-w\-\-\-\-).
 .PP
 The behavior of
index 7e88689fcaee0d89c23a106d09c516cb5ec18e3f..f6373a4caaa8880a0b249d1c261b92ee8882aab0 100644 (file)
@@ -64,7 +64,11 @@ is returned.
 .PP
 If
 .I error
-is \-\fBERANGE\fP (\-Infinity), \-\fBHUGE_VAL\fP is returned.
+is 
+.RB \- ERANGE
+(\-Infinity),
+.RB \- HUGE_VAL
+is returned.
 .PP
 If
 .I error
index 84ac732a155f541554620fe48cd9ed48b7171bef..0d59c825a5d7afdf673d5041d7017da64f817a40 100644 (file)
@@ -18,12 +18,16 @@ The
 .BR putgrent ()
 function is the counterpart for
 .BR fgetgrent (3).
-The function writes the content of the provided \fIstruct group\fP into the
+The function writes the content of the provided
+.IR "struct group"
+into the
 file pointed to by
 .IR fp .
 The list of group members must be NULL-terminated or NULL-initialized.
 .sp
-The \fIstruct group\fP is defined as follows:
+The
+.IR "struct group"
+is defined as follows:
 .sp
 .in +4n
 .nf
index 0bf148b52c38a3cdc677a54616a797ca78d63e8f..d78fd437ebea91586d1bd920539212152ead1c95 100644 (file)
@@ -31,7 +31,8 @@ getaliasbyname, getaliasbyname_r \- read an alias entry
 .SH DESCRIPTION
 One of the databases available with the Name Service Switch (NSS)
 is the aliases database, that contains mail aliases.
-(To find out which databases are supported, try  \fIgetent \-\-help\fP.)
+(To find out which databases are supported, try
+.IR "getent \-\-help" .)
 Six functions are provided to access the aliases database.
 .PP
 The
index 90991a4397845afeb49bef93aaf37c65ddf1ddd2..c7c71458abd10b9f0650e87bc335cbb6dd83350c 100644 (file)
@@ -83,7 +83,9 @@ and any of the other flags listed here:
 Open the object for read access.
 A shared memory object opened in this way can be
 .BR mmap (2)ed
-only for read (\fBPROT_READ\fP) access.
+only for read
+.RB ( PROT_READ )
+access.
 .TP
 .B O_RDWR
 Open the object for read-write access.
index 448323f4fdaa1b20868e7f333060c4036a78901b..226ef0561057ed7c21c6f710cb892717198941cf 100644 (file)
@@ -74,7 +74,7 @@ The preprocessor symbols
 and
 .B STDERR_FILENO
 are defined with these values in
-\fI<unistd.h>\fP.
+.IR <unistd.h> .
 (Applying
 .BR freopen (3)
 to one of these streams can change the file descriptor number
index a4ca20795a1b4e9451815d6fd456a6fdab504f44..939bada6c39edb8b111a5a2854d87ff0c87bcc11 100644 (file)
@@ -27,7 +27,8 @@
 .SH NAME
 ttyS \- serial terminal lines
 .SH DESCRIPTION
-\fBttyS[0\-3]\fP are character devices for the serial terminal lines.
+.B ttyS[0\-3]
+are character devices for the serial terminal lines.
 .LP
 They are typically created by:
 .RS