diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-05-03 00:48:14 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-05-03 00:48:22 +0200 |
commit | fe5dba139dc089eae4061fdc17f087e71f48b198 (patch) | |
tree | 54af56b1b0138bde9a21e99372ab68ce4d64564a /man4 | |
parent | 5a0d9ed151e6449d978fabdd654cacc17b20a235 (diff) |
man*/, man.ignore.grep: srcfix; warn about blank lines
- Use the dummy character to avoid warnings in examples.
- Re-enable the warning.
Suggested-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man4')
-rw-r--r-- | man4/cciss.4 | 4 | ||||
-rw-r--r-- | man4/fuse.4 | 2 | ||||
-rw-r--r-- | man4/lirc.4 | 2 | ||||
-rw-r--r-- | man4/loop.4 | 20 | ||||
-rw-r--r-- | man4/vcs.4 | 4 |
5 files changed, 16 insertions, 16 deletions
diff --git a/man4/cciss.4 b/man4/cciss.4 index 5db37159e..873ef9118 100644 --- a/man4/cciss.4 +++ b/man4/cciss.4 @@ -128,7 +128,7 @@ li l. /dev/cciss/c0d0p1 Controller 0, disk 0, partition 1 /dev/cciss/c0d0p2 Controller 0, disk 0, partition 2 /dev/cciss/c0d0p3 Controller 0, disk 0, partition 3 - +\& /dev/cciss/c1d1 Controller 1, disk 1, whole device /dev/cciss/c1d1p1 Controller 1, disk 1, partition 1 /dev/cciss/c1d1p2 Controller 1, disk 1, partition 2 @@ -161,7 +161,7 @@ Max Q depth since init: 1 Max # commands on controller since init: 2 Max SG entries since init: 32 Sequential access devices: 0 - +\& cciss/c2d0: 36.38GB RAID 0 .EE .in diff --git a/man4/fuse.4 b/man4/fuse.4 index 64d798bff..612070787 100644 --- a/man4/fuse.4 +++ b/man4/fuse.4 @@ -433,7 +433,7 @@ struct fuse_kstatfs { uint32_t padding; uint32_t spare[6]; }; - +\& struct fuse_statfs_out { struct fuse_kstatfs st; }; diff --git a/man4/lirc.4 b/man4/lirc.4 index d4461d479..4bd356d2e 100644 --- a/man4/lirc.4 +++ b/man4/lirc.4 @@ -116,7 +116,7 @@ device cannot transmit. .SH IOCTL COMMANDS .nf #include <linux/lirc.h> /* But see BUGS */ - +\& int ioctl(int fd, int cmd, int *val); .fi .PP diff --git a/man4/loop.4 b/man4/loop.4 index 5f923d1ba..72a243192 100644 --- a/man4/loop.4 +++ b/man4/loop.4 @@ -313,44 +313,44 @@ loopname = /dev/loop5 #include <stdio.h> #include <stdlib.h> #include <unistd.h> - +\& #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \e } while (0) - +\& int main(int argc, char *argv[]) { int loopctlfd, loopfd, backingfile; long devnr; char loopname[4096]; - +\& if (argc != 2) { fprintf(stderr, "Usage: %s backing\-file\en", argv[0]); exit(EXIT_FAILURE); } - +\& loopctlfd = open("/dev/loop\-control", O_RDWR); if (loopctlfd == \-1) errExit("open: /dev/loop\-control"); - +\& devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE); if (devnr == \-1) errExit("ioctl\-LOOP_CTL_GET_FREE"); - +\& sprintf(loopname, "/dev/loop%ld", devnr); printf("loopname = %s\en", loopname); - +\& loopfd = open(loopname, O_RDWR); if (loopfd == \-1) errExit("open: loopname"); - +\& backingfile = open(argv[1], O_RDWR); if (backingfile == \-1) errExit("open: backing\-file"); - +\& if (ioctl(loopfd, LOOP_SET_FD, backingfile) == \-1) errExit("ioctl\-LOOP_SET_FD"); - +\& exit(EXIT_SUCCESS); } .EE diff --git a/man4/vcs.4 b/man4/vcs.4 index 7eef1648b..66f06ab11 100644 --- a/man4/vcs.4 +++ b/man4/vcs.4 @@ -123,7 +123,7 @@ there: #include <fcntl.h> #include <sys/ioctl.h> #include <linux/vt.h> - +\& int main(void) { @@ -135,7 +135,7 @@ main(void) unsigned short mask; unsigned char attrib; int ch; - +\& fd = open(console, O_RDWR); if (fd < 0) { perror(console); |