]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getrlimit.2, signalfd.2, statfs.2, tee.2, dlopen.3, duplocale.3, ftw.3, get_nprocs...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 19 Aug 2017 19:02:23 +0000 (21:02 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 19 Aug 2017 19:02:23 +0000 (21:02 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
18 files changed:
man2/getrlimit.2
man2/signalfd.2
man2/statfs.2
man2/tee.2
man3/dlopen.3
man3/duplocale.3
man3/ftw.3
man3/get_nprocs.3
man3/mbstowcs.3
man3/posix_spawn.3
man3/strftime.3
man4/full.4
man7/fanotify.7
man7/inotify.7
man7/ip.7
man7/netdevice.7
man7/rtld-audit.7
man7/unix.7

index 01948c827621d6aa4ea4a96fbdbb45899af33c17..61c7b7b552d5d89ebc52da733df02cb2443b3800 100644 (file)
@@ -251,25 +251,27 @@ This limit is enforced for
 .BR mq_open (3).
 Each message queue that the user creates counts (until it is removed)
 against this limit according to the formula:
-.EX
-
+.IP
     Since Linux 3.5:
-
+.IP
+.EX
         bytes = attr.mq_maxmsg * sizeof(struct msg_msg) +
                 min(attr.mq_maxmsg, MQ_PRIO_MAX) *
                       sizeof(struct posix_msg_tree_node)+
                                 /* For overhead */
                 attr.mq_maxmsg * attr.mq_msgsize;
                                 /* For message data */
-
+.EE
+.IP
     Linux 3.4 and earlier:
-
+.IP
+.EX
         bytes = attr.mq_maxmsg * sizeof(struct msg_msg *) +
                                 /* For overhead */
                 attr.mq_maxmsg * attr.mq_msgsize;
                                 /* For message data */
-
 .EE
+.IP
 where
 .I attr
 is the
index 0459decb86a5038961cf6adac8bfb01f477fd6e6..3a78a70409c4a6ba9cfde376e3796fec8dc0c431 100644 (file)
@@ -197,9 +197,9 @@ struct signalfd_siginfo {
     uint8_t  pad[\fIX\fP];       /* Pad size to 128 bytes (allow for
                               additional fields in the future) */
 };
-
 .EE
 .in
+.PP
 Each of the fields in this structure
 is analogous to the similarly named field in the
 .I siginfo_t
index 6af9731e86c6d1308e95180f1c6c0d0e9899b1e2..cf67f0054d800caa7b390142af8d943a3ea39b89 100644 (file)
@@ -64,92 +64,96 @@ struct statfs {
     __fsword_t f_spare[xxx];
                     /* Padding bytes reserved for future use */
 };
-
+.EE
+.in
+.PP
 Filesystem types:
-
-   ADFS_SUPER_MAGIC      0xadf5
-   AFFS_SUPER_MAGIC      0xadff
-   AFS_SUPER_MAGIC       0x5346414f
-   ANON_INODE_FS_MAGIC   0x09041934
-   AUTOFS_SUPER_MAGIC    0x0187
-   BDEVFS_MAGIC          0x62646576
-   BEFS_SUPER_MAGIC      0x42465331
-   BFS_MAGIC             0x1badface
-   BINFMTFS_MAGIC        0x42494e4d
-   BPF_FS_MAGIC          0xcafe4a11
-   BTRFS_SUPER_MAGIC     0x9123683e
-   BTRFS_TEST_MAGIC      0x73727279
-   CGROUP_SUPER_MAGIC    0x27e0eb
-   CGROUP2_SUPER_MAGIC   0x63677270
-   CIFS_MAGIC_NUMBER     0xff534d42
-   CODA_SUPER_MAGIC      0x73757245
-   COH_SUPER_MAGIC       0x012ff7b7
-   CRAMFS_MAGIC          0x28cd3d45
-   DEBUGFS_MAGIC         0x64626720
-   DEVFS_SUPER_MAGIC     0x1373
-   DEVPTS_SUPER_MAGIC    0x1cd1
-   ECRYPTFS_SUPER_MAGIC  0xf15f
-   EFIVARFS_MAGIC        0xde5e81e4
-   EFS_SUPER_MAGIC       0x00414a53
-   EXT_SUPER_MAGIC       0x137d
-   EXT2_OLD_SUPER_MAGIC  0xef51
-   EXT2_SUPER_MAGIC      0xef53
-   EXT3_SUPER_MAGIC      0xef53
-   EXT4_SUPER_MAGIC      0xef53
-   F2FS_SUPER_MAGIC      0xf2f52010
-   FUSE_SUPER_MAGIC      0x65735546
-   FUTEXFS_SUPER_MAGIC   0xbad1dea
-   HFS_SUPER_MAGIC       0x4244
-   HOSTFS_SUPER_MAGIC    0x00c0ffee
-   HPFS_SUPER_MAGIC      0xf995e849
-   HUGETLBFS_MAGIC       0x958458f6
-   ISOFS_SUPER_MAGIC     0x9660
-   JFFS2_SUPER_MAGIC     0x72b6
-   JFS_SUPER_MAGIC       0x3153464a
-   MINIX_SUPER_MAGIC     0x137f /* orig. minix */
-   MINIX_SUPER_MAGIC2    0x138f /* 30 char minix */
-   MINIX2_SUPER_MAGIC    0x2468 /* minix V2 */
-   MINIX2_SUPER_MAGIC2   0x2478 /* minix V2, 30 char names */
-   MINIX3_SUPER_MAGIC    0x4d5a /* minix V3 fs, 60 char names */
-   MQUEUE_MAGIC          0x19800202
-   MSDOS_SUPER_MAGIC     0x4d44
-   MTD_INODE_FS_MAGIC    0x11307854
-   NCP_SUPER_MAGIC       0x564c
-   NFS_SUPER_MAGIC       0x6969
-   NILFS_SUPER_MAGIC     0x3434
-   NSFS_MAGIC            0x6e736673
-   NTFS_SB_MAGIC         0x5346544e
-   OCFS2_SUPER_MAGIC     0x7461636f
-   OPENPROM_SUPER_MAGIC  0x9fa1
-   OVERLAYFS_SUPER_MAGIC 0x794c7630
-   PIPEFS_MAGIC          0x50495045
-   PROC_SUPER_MAGIC      0x9fa0
-   PSTOREFS_MAGIC        0x6165676c
-   QNX4_SUPER_MAGIC      0x002f
-   QNX6_SUPER_MAGIC      0x68191122
-   RAMFS_MAGIC           0x858458f6
-   REISERFS_SUPER_MAGIC  0x52654973
-   ROMFS_MAGIC           0x7275
-   SECURITYFS_MAGIC      0x73636673
-   SELINUX_MAGIC         0xf97cff8c
-   SMACK_MAGIC           0x43415d53
-   SMB_SUPER_MAGIC       0x517b
-   SOCKFS_MAGIC          0x534f434b
-   SQUASHFS_MAGIC        0x73717368
-   SYSFS_MAGIC           0x62656572
-   SYSV2_SUPER_MAGIC     0x012ff7b6
-   SYSV4_SUPER_MAGIC     0x012ff7b5
-   TMPFS_MAGIC           0x01021994
-   TRACEFS_MAGIC         0x74726163
-   UDF_SUPER_MAGIC       0x15013346
-   UFS_MAGIC             0x00011954
-   USBDEVICE_SUPER_MAGIC 0x9fa2
-   V9FS_MAGIC            0x01021997
-   VXFS_SUPER_MAGIC      0xa501fcf5
-   XENFS_SUPER_MAGIC     0xabba1974
-   XENIX_SUPER_MAGIC     0x012ff7b4
-   XFS_SUPER_MAGIC       0x58465342
-   _XIAFS_SUPER_MAGIC    0x012fd16d
+.PP
+.in +4n
+.EX
+ADFS_SUPER_MAGIC      0xadf5
+AFFS_SUPER_MAGIC      0xadff
+AFS_SUPER_MAGIC       0x5346414f
+ANON_INODE_FS_MAGIC   0x09041934
+AUTOFS_SUPER_MAGIC    0x0187
+BDEVFS_MAGIC          0x62646576
+BEFS_SUPER_MAGIC      0x42465331
+BFS_MAGIC             0x1badface
+BINFMTFS_MAGIC        0x42494e4d
+BPF_FS_MAGIC          0xcafe4a11
+BTRFS_SUPER_MAGIC     0x9123683e
+BTRFS_TEST_MAGIC      0x73727279
+CGROUP_SUPER_MAGIC    0x27e0eb
+CGROUP2_SUPER_MAGIC   0x63677270
+CIFS_MAGIC_NUMBER     0xff534d42
+CODA_SUPER_MAGIC      0x73757245
+COH_SUPER_MAGIC       0x012ff7b7
+CRAMFS_MAGIC          0x28cd3d45
+DEBUGFS_MAGIC         0x64626720
+DEVFS_SUPER_MAGIC     0x1373
+DEVPTS_SUPER_MAGIC    0x1cd1
+ECRYPTFS_SUPER_MAGIC  0xf15f
+EFIVARFS_MAGIC        0xde5e81e4
+EFS_SUPER_MAGIC       0x00414a53
+EXT_SUPER_MAGIC       0x137d
+EXT2_OLD_SUPER_MAGIC  0xef51
+EXT2_SUPER_MAGIC      0xef53
+EXT3_SUPER_MAGIC      0xef53
+EXT4_SUPER_MAGIC      0xef53
+F2FS_SUPER_MAGIC      0xf2f52010
+FUSE_SUPER_MAGIC      0x65735546
+FUTEXFS_SUPER_MAGIC   0xbad1dea
+HFS_SUPER_MAGIC       0x4244
+HOSTFS_SUPER_MAGIC    0x00c0ffee
+HPFS_SUPER_MAGIC      0xf995e849
+HUGETLBFS_MAGIC       0x958458f6
+ISOFS_SUPER_MAGIC     0x9660
+JFFS2_SUPER_MAGIC     0x72b6
+JFS_SUPER_MAGIC       0x3153464a
+MINIX_SUPER_MAGIC     0x137f /* orig. minix */
+MINIX_SUPER_MAGIC2    0x138f /* 30 char minix */
+MINIX2_SUPER_MAGIC    0x2468 /* minix V2 */
+MINIX2_SUPER_MAGIC2   0x2478 /* minix V2, 30 char names */
+MINIX3_SUPER_MAGIC    0x4d5a /* minix V3 fs, 60 char names */
+MQUEUE_MAGIC          0x19800202
+MSDOS_SUPER_MAGIC     0x4d44
+MTD_INODE_FS_MAGIC    0x11307854
+NCP_SUPER_MAGIC       0x564c
+NFS_SUPER_MAGIC       0x6969
+NILFS_SUPER_MAGIC     0x3434
+NSFS_MAGIC            0x6e736673
+NTFS_SB_MAGIC         0x5346544e
+OCFS2_SUPER_MAGIC     0x7461636f
+OPENPROM_SUPER_MAGIC  0x9fa1
+OVERLAYFS_SUPER_MAGIC 0x794c7630
+PIPEFS_MAGIC          0x50495045
+PROC_SUPER_MAGIC      0x9fa0
+PSTOREFS_MAGIC        0x6165676c
+QNX4_SUPER_MAGIC      0x002f
+QNX6_SUPER_MAGIC      0x68191122
+RAMFS_MAGIC           0x858458f6
+REISERFS_SUPER_MAGIC  0x52654973
+ROMFS_MAGIC           0x7275
+SECURITYFS_MAGIC      0x73636673
+SELINUX_MAGIC         0xf97cff8c
+SMACK_MAGIC           0x43415d53
+SMB_SUPER_MAGIC       0x517b
+SOCKFS_MAGIC          0x534f434b
+SQUASHFS_MAGIC        0x73717368
+SYSFS_MAGIC           0x62656572
+SYSV2_SUPER_MAGIC     0x012ff7b6
+SYSV4_SUPER_MAGIC     0x012ff7b5
+TMPFS_MAGIC           0x01021994
+TRACEFS_MAGIC         0x74726163
+UDF_SUPER_MAGIC       0x15013346
+UFS_MAGIC             0x00011954
+USBDEVICE_SUPER_MAGIC 0x9fa2
+V9FS_MAGIC            0x01021997
+VXFS_SUPER_MAGIC      0xa501fcf5
+XENFS_SUPER_MAGIC     0xabba1974
+XENIX_SUPER_MAGIC     0x012ff7b4
+XFS_SUPER_MAGIC       0x58465342
+_XIAFS_SUPER_MAGIC    0x012fd16d
 .EE
 .in
 .PP
index 9e10455b9680a05db4bf95264ea10ba075e3dca1..3e6001cb7207ff05198b26b661130e99d6e6a24b 100644 (file)
@@ -148,8 +148,8 @@ Tue Oct 28 10:06:00 CET 2014
 .EE
 .in
 .SS Program source
+\&
 .EX
-
 #define _GNU_SOURCE
 #include <fcntl.h>
 #include <stdio.h>
index 1f2baf6e32b3731054456d8c51cf5905230eae3c..636eee16c6896ebfcac2f934712c8385086a4cf4 100644 (file)
@@ -528,8 +528,8 @@ $ \fB./a.out\fP
 .EE
 .in
 .SS Program source
+\&
 .EX
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <dlfcn.h>
index 8cc87ad9734fbf012ab0c830b022fa7b69bd0db6..03dba25d1471970d7e30c11da1493d68ec4c4493 100644 (file)
@@ -134,6 +134,7 @@ ABC
 .EE
 .in
 .SS Program source
+\&
 .EX
 #define _XOPEN_SOURCE 700
 #include <ctype.h>
index eb9c352fd18686133810dcb3b2e535850d02cd25..65bfce6259d2fdf4259e825e45d1b3813a92ed49 100644 (file)
@@ -426,6 +426,7 @@ control the value assigned to the \fIflags\fP
 argument when calling
 .BR nftw ().
 .SS Program source
+\&
 .EX
 #define _XOPEN_SOURCE 500
 #include <ftw.h>
index 581d6c73e16a926a17993c1f885a85f47a5a2b21..63c03bac7e32b3fc6a8450f4bfe1c75d5694c60b 100644 (file)
@@ -1,2 +1 @@
 .so man3/get_nprocs_conf.3
-
index 4149eec00446d4092de76259997a1144813ed2b9..6416c886215dde452b0b794226bdd581f3cd7086 100644 (file)
@@ -141,6 +141,7 @@ Wide character string is: Grüße! (6 characters)
 .EE
 .in
 .SS Program source
+\&
 .EX
 #include <wctype.h>
 #include <locale.h>
index 24ea7e6e363a21cb350b5dd4963190da9e48c394..ab7ffa31aac0ce5350fee0a3477df0795be60acc 100644 (file)
@@ -643,6 +643,7 @@ Child status: exited, status=127
 .EE
 .in
 .SS Program source
+\&
 .EX
 #include <spawn.h>
 #include <stdio.h>
index d078cc4e4fda88a2a708459d49abe40eee5b2b04..79882afd87a1a2e78db90791f4d36c7766cf9c01 100644 (file)
@@ -618,6 +618,7 @@ Result string is "   11"
 .EE
 .in
 .SS Program source
+\&
 .EX
 #include <time.h>
 #include <stdio.h>
index 7ed2552010d6eb5b0ee44dcf0c4642691a05724c..33115974e88e4842cc378d92941e9a38eff2b4ca 100644 (file)
@@ -31,11 +31,13 @@ If your system does not have
 .I /dev/full
 created already, it
 can be created with the following commands:
-.nf
-
-        mknod \-m 666 /dev/full c 1 7
-        chown root:root /dev/full
-.fi
+.PP
+.in +4n
+.EX
+mknod \-m 666 /dev/full c 1 7
+chown root:root /dev/full
+.EE
+.in
 .SH DESCRIPTION
 File
 .I /dev/full
index ed2175aeb9241fee4cc155f0ed72e749cf0e0e4d..973e86bc10dbc19430fa0d5471e8230a41c83fdd 100644 (file)
@@ -559,6 +559,7 @@ Listening for events stopped.
 .EE
 .in
 .SS Program source
+\&
 .EX
 #define _GNU_SOURCE     /* Needed to get O_LARGEFILE definition */
 #include <errno.h>
index 52fdd02982e15613020b9f6163a7f9ae60457f4f..163b11294437c80dc25e7191cbf4d13946d3f939 100644 (file)
@@ -888,6 +888,7 @@ Listening for events stopped.
 .EE
 .in
 .SS Program source
+\&
 .EX
 #include <errno.h>
 #include <poll.h>
index 302d26d2606357b481996a0c01c24bcc05035344..e1a94f1481be238d9e79abf8b4efbf9e3e3b0b85 100644 (file)
--- a/man7/ip.7
+++ b/man7/ip.7
@@ -725,8 +725,7 @@ control message contains a
 structure:
 .IP
 .in +4n
-.ne 18
-.nf
+.EX
 #define SO_EE_ORIGIN_NONE    0
 #define SO_EE_ORIGIN_LOCAL   1
 #define SO_EE_ORIGIN_ICMP    2
index a8f950f0288183efe29a9e52eb9a9fe18611f85b..43b9906b659b047b99bbe1d055e7528f273682b8 100644 (file)
@@ -116,9 +116,9 @@ T}
 IFF_LOWER_UP:Driver signals L1 up (since Linux 2.6.17)
 IFF_DORMANT:Driver signals dormant (since Linux 2.6.17)
 IFF_ECHO:Echo sent packets (since Linux 2.6.25)
-
 .TE
 .ad
+.PP
 Setting the active flag word is a privileged operation, but any
 process may read it.
 .TP
index 4d659042d7fa5d527a0af67a51f8caa1739da300..39b36feee9c0b9d31d0a240e9ab4f431c0128ff4 100644 (file)
@@ -355,8 +355,8 @@ depend on the hardware platform.
 (The appropriate definition is supplied by
 .IR <link.h> .)
 Here is the definition for x86-32:
+.PP
 .nf
-
 .BI "Elf32_Addr la_i86_gnu_pltenter(Elf32_Sym *" sym ", unsigned int " ndx ,
 .BI "                 uintptr_t *" refcook ", uintptr_t *" defcook ,
 .BI "                 La_i86_regs *" regs ", unsigned int *" flags ,
index d4ccc338983e9c3bad47ce273d66437bde79a048..52b6dfed3e84d79f98886fcac365e3e1f520b9a8 100644 (file)
@@ -713,6 +713,7 @@ $
 .EE
 .in
 .SS Program source
+\&
 .EX
 /*
  * File connection.h