]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Various pages: Fit rendered pages in 80 columns
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 25 Aug 2022 19:55:00 +0000 (21:55 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Thu, 25 Aug 2022 19:55:00 +0000 (21:55 +0200)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/ioctl_userfaultfd.2
man3/lio_listio.3
man3/malloc_hook.3
man7/landlock.7
man7/netlink.7
man7/tcp.7

index 88876ce4e5faaca79e9ec469d7019b1d8048991c..59a4cf7052ac6734cd0dd60ebe37e1f9595556d9 100644 (file)
@@ -769,9 +769,10 @@ structure as shown below:
 .in +4n
 .EX
 struct uffdio_continue {
-    struct uffdio_range range; /* Range to install PTEs for and continue */
-    __u64 mode;                /* Flags controlling the behavior of continue */
-    __s64 mapped;              /* Number of bytes mapped, or negated error */
+    struct uffdio_range range;
+                   /* Range to install PTEs for and continue */
+    __u64 mode;    /* Flags controlling the behavior of continue */
+    __s64 mapped;  /* Number of bytes mapped, or negated error */
 };
 .EE
 .in
index 42d3369c706fde8620686e57330bf70bf05bcbdb..a5f2f492e925c5bcf62b76fd40eba9a2f606da46 100644 (file)
@@ -12,8 +12,8 @@ Real-time library
 .nf
 .B "#include <aio.h>"
 .PP
-.BI "int lio_listio(int " mode \
-", struct aiocb *restrict const " aiocb_list [restrict],
+.BI "int lio_listio(int " mode ,
+.BI "               struct aiocb *restrict const " aiocb_list [restrict],
 .BI "               int " nitems ", struct sigevent *restrict " sevp );
 .fi
 .SH DESCRIPTION
index 6ecfac60a53384480efcc9a9abd56b075f903c77..08668aa72051730707c347b3e26619f27de88f21 100644 (file)
@@ -19,8 +19,8 @@ Standard C library
 .PP
 .BI "void *(*volatile __malloc_hook)(size_t " size ", const void *" caller );
 .PP
-.BI "void *(*volatile __realloc_hook)(void *" ptr ", size_t " size \
-", const void *" caller );
+.BI "void *(*volatile __realloc_hook)(void *" ptr ", size_t " size ,
+.BI "                         const void *" caller );
 .PP
 .BI "void *(*volatile __memalign_hook)(size_t " alignment ", size_t " size ,
 .BI "                         const void *" caller );
index 7f00467518374ed0e7d7fbcce3345f9085d089a4..3ec3e429d5818078c8a791fbf59f28e209a0d714 100644 (file)
@@ -225,10 +225,10 @@ See below for the description of filesystem actions.
 .PP
 .in +4n
 .EX
-struct landlock_ruleset_attr ruleset_attr = {0};
+struct landlock_ruleset_attr attr = {0};
 int ruleset_fd;
 
-ruleset_attr.handled_access_fs =
+attr.handled_access_fs =
         LANDLOCK_ACCESS_FS_EXECUTE |
         LANDLOCK_ACCESS_FS_WRITE_FILE |
         LANDLOCK_ACCESS_FS_READ_FILE |
@@ -243,7 +243,7 @@ ruleset_attr.handled_access_fs =
         LANDLOCK_ACCESS_FS_MAKE_BLOCK |
         LANDLOCK_ACCESS_FS_MAKE_SYM;
 
-ruleset_fd = landlock_create_ruleset(&ruleset_attr, sizeof(ruleset_attr), 0);
+ruleset_fd = landlock_create_ruleset(&attr, sizeof(attr), 0);
 if (ruleset_fd == -1) {
     perror("Failed to create a ruleset");
     exit(EXIT_FAILURE);
index 667cae0a66a98b060f9bed1e391997517c7d5204..23291bb525daf0735783c823feee92361f645c16 100644 (file)
@@ -198,7 +198,8 @@ struct nlmsgerr {
     int error;        /* Negative errno or 0 for acknowledgements */
     struct nlmsghdr msg;  /* Message header that caused the error */
     /*
-     * followed by the message contents unless NETLINK_CAP_ACK was set
+     * followed by the message contents
+     * unless NETLINK_CAP_ACK was set
      * or the ACK indicates success (error == 0).
      * For example Generic Netlink message with attributes.
      * message length is aligned with NLMSG_ALIGN()
index 82de9a2c7df4956337f8fd8dfd06e459fdb03060..2ca65136793e2efef123fdc6d973e6659998aebf 100644 (file)
@@ -1336,7 +1336,8 @@ Here is the typical call flow with this new option:
 s = socket();
 setsockopt(s, IPPROTO_TCP, TCP_FASTOPEN_CONNECT, 1, ...);
 connect(s);
-write(s); // write() should always follow connect() in order to trigger SYN to go out
+write(s); /* write() should always follow connect()
+           * in order to trigger SYN to go out. */
 read(s)/write(s);
 /* ... */
 close(s);