]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Various pages: clean-ups after "bring more whitespace consistency in SYNOPSIS"
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 1 Jan 2021 21:24:55 +0000 (22:24 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 1 Jan 2021 22:28:14 +0000 (23:28 +0100)
Cleann-ups after commit 15d6565317dad749ef57e69023139bc405caab88.

Reported-by: Alejandro Colomar (man-pages) <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
13 files changed:
man2/brk.2
man2/pread.2
man3/a64l.3
man3/atan.3
man3/backtrace.3
man3/catopen.3
man3/fmax.3
man3/getaddrinfo_a.3
man3/getdirentries.3
man3/getspnam.3
man3/login.3
man3/mq_getattr.3
man3/random_r.3

index 27bceebfc95a5f817e12a576679e56af21d0ccce..067ad4a7f7c136fc47af6b7521d95a93a41c7a26 100644 (file)
 .SH NAME
 brk, sbrk \- change data segment size
 .SH SYNOPSIS
+.nf
 .B #include <unistd.h>
 .PP
 .BI "int brk(void *" addr );
 .BI "void *sbrk(intptr_t " increment );
+.fi
 .PP
 .RS -4
 Feature Test Macro Requirements for glibc (see
index fa030a1ad73aacb487cac6223dae6d07578e22a6..8e31be79c509b9cdd0ade5ffad2cc43ee7b638bf 100644 (file)
 .SH NAME
 pread, pwrite \- read from or write to a file descriptor at a given offset
 .SH SYNOPSIS
+.nf
 .B #include <unistd.h>
 .PP
 .BI "ssize_t pread(int " fd ", void *" buf ", size_t " count \
 ", off_t " offset );
 .BI "ssize_t pwrite(int " fd ", const void *" buf ", size_t " count \
 ", off_t " offset );
+.fi
 .PP
 .RS -4
 Feature Test Macro Requirements for glibc (see
index e41d863cee8d607135fcf7238549dbeea1e04066..16a73977bb2d8bafc06724ba4f15191812a1c0cf 100644 (file)
 .SH NAME
 a64l, l64a \- convert between long and base-64
 .SH SYNOPSIS
+.nf
 .B #include <stdlib.h>
 .PP
 .BI "long a64l(const char *" str64 );
 .BI "char *l64a(long " value );
+.fi
 .PP
 .RS -4
 Feature Test Macro Requirements for glibc (see
index d4688d4e08595b863379a484c562d3cbf48432e0..b20b4e0b29070c8d7125387312eaa6c5c5881d05 100644 (file)
@@ -41,7 +41,7 @@ atan, atanf, atanl \- arc tangent function
 .PP
 .BI "double atan(double " x );
 .BI "float atanf(float " x );
-.BI "long double atanl( long double " x );
+.BI "long double atanl(long double " x );
 .PP
 .fi
 Link with \fI\-lm\fP.
index 542ad87f2a360638daee84cd361cc957188d5d5b..066fa6badc33fc7bb57b26ccbd709685611e53e7 100644 (file)
 backtrace, backtrace_symbols, backtrace_symbols_fd \- support
 for application self-debugging
 .SH SYNOPSIS
+.nf
 .B #include <execinfo.h>
 .PP
-.B int backtrace(void
-.BI ** buffer ,
-.B int
-.IB size );
+.BI "int backtrace(void **" buffer ", int " size );
 .PP
-.B char **backtrace_symbols(void *const
-.BI * buffer ,
-.B int
-.IB size );
-.PP
-.B void backtrace_symbols_fd(void *const
-.BI * buffer ,
-.B int
-.IB size ,
-.B int
-.IB fd );
+.BI "char **backtrace_symbols(void *const *" buffer ", int " size );
+.BI "void backtrace_symbols_fd(void *const *" buffer ", int " size ", int " fd );
+.fi
 .SH DESCRIPTION
 .BR backtrace ()
 returns a backtrace for the calling program,
index f005d70024b85ece41b95dc6eeb0adf93f95fbad..7b1a8b4a1378a78d1c8ceb845ec3e5859a295371 100644 (file)
 .SH NAME
 catopen, catclose \- open/close a message catalog
 .SH SYNOPSIS
+.nf
 .B #include <nl_types.h>
 .PP
 .BI "nl_catd catopen(const char *" name ", int " flag );
-.PP
 .BI "int catclose(nl_catd " catalog );
+.fi
 .SH DESCRIPTION
 The function
 .BR catopen ()
index fe44ee776934dcc6cd4a8b8058be702c03bc5fad..f8bd8983febbdcdbda265c2add859816e8f2e4ae 100644 (file)
 .SH NAME
 fmax, fmaxf, fmaxl \- determine maximum of two floating-point numbers
 .SH SYNOPSIS
+.nf
 .B #include <math.h>
 .PP
 .BI "double fmax(double " x ", double " y );
 .BI "float fmaxf(float " x ", float " y );
 .BI "long double fmaxl(long double " x ", long double " y );
+.fi
 .PP
 Link with \fI\-lm\fP.
 .PP
index aed6523493c30a20eb7bdbf02b2edf1638a7b218..6cf3513ce687c13b9036b2a590b9d922bc7b93cf 100644 (file)
@@ -38,12 +38,10 @@ network address and service translation
 .PP
 .BI "int getaddrinfo_a(int " "mode" ", struct gaicb *" "list[]" ,
 .BI "                  int " "nitems" ", struct sigevent *" "sevp" );
-.PP
 .BI "int gai_suspend(const struct gaicb * const " "list[]" ", int " "nitems" ,
 .BI "                  const struct timespec *" "timeout" );
 .PP
 .BI "int gai_error(struct gaicb *" "req" );
-.PP
 .BI "int gai_cancel(struct gaicb *" "req" );
 .PP
 Link with \fI\-lanl\fP.
index 1aafd1a699b197ca4e2f95bf85f948d039ae966d..a179a8099f5294c65be2a5131888e6f8f06bc52c 100644 (file)
 .SH NAME
 getdirentries \- get directory entries in a filesystem-independent format
 .SH SYNOPSIS
+.nf
 .B #include <dirent.h>
 .PP
-.BI "ssize_t getdirentries(int " fd ", char *" buf ", size_t " \
-nbytes ", off_t *" basep );
+.BI "ssize_t getdirentries(int " fd ", char *" buf ", size_t " nbytes ,
+.BI "                      off_t *" basep );
+.fi
 .PP
 .RS -4
 Feature Test Macro Requirements for glibc (see
index 728437725405669161ce62c8af3f9dc3d0805892..55eec96c6830f18d767c44d286645a4b020b6c26 100644 (file)
@@ -33,14 +33,14 @@ lckpwdf, ulckpwdf \- get shadow password file entry
 .B #include <shadow.h>
 .PP
 .BI "int getspent_r(struct spwd *" spbuf ,
-.BI "        char *" buf ", size_t " buflen ", struct spwd **" spbufp );
+.BI "               char *" buf ", size_t " buflen ", struct spwd **" spbufp );
 .BI "int getspnam_r(const char *" name ", struct spwd *" spbuf ,
-.BI "        char *" buf ", size_t " buflen ", struct spwd **" spbufp );
+.BI "               char *" buf ", size_t " buflen ", struct spwd **" spbufp );
 .PP
 .BI "int fgetspent_r(FILE *" stream ", struct spwd *" spbuf ,
-.BI "        char *" buf ", size_t " buflen ", struct spwd **" spbufp );
+.BI "               char *" buf ", size_t " buflen ", struct spwd **" spbufp );
 .BI "int sgetspent_r(const char *" s ", struct spwd *" spbuf ,
-.BI "        char *" buf ", size_t " buflen ", struct spwd **" spbufp );
+.BI "               char *" buf ", size_t " buflen ", struct spwd **" spbufp );
 .fi
 .PP
 .RS -4
index 985fc93cd8c5bf2cb77aae05a314dabf32850556..e82a0907e05ff6f6a54c51a1fdd3e7a22ff25e5b 100644 (file)
 .SH NAME
 login, logout \- write utmp and wtmp entries
 .SH SYNOPSIS
+.nf
 .B #include <utmp.h>
 .PP
 .BI "void login(const struct utmp *" ut );
 .BI "int logout(const char *" ut_line );
+.fi
 .PP
 Link with \fI\-lutil\fP.
 .SH DESCRIPTION
index 7b87d6baefdaa5d04e099316599ef714a3632491..be572d4262af1c7ca16f534f8f818e0e84984fba 100644 (file)
@@ -31,7 +31,7 @@ mq_getattr, mq_setattr \- get/set message queue attributes
 .PP
 .BI "int mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr );
 .BI "int mq_setattr(mqd_t " mqdes ", const struct mq_attr *" newattr ","
-.BI "                 struct mq_attr *" oldattr );
+.BI "               struct mq_attr *" oldattr );
 .fi
 .PP
 Link with \fI\-lrt\fP.
index e4d85b676f069c13293e15312461c6e084ceaab4..e85e604b244b96159fe19014378d4f89927ba7c4 100644 (file)
@@ -32,12 +32,10 @@ random number generator
 .B #include <stdlib.h>
 .PP
 .BI "int random_r(struct random_data *" buf ", int32_t *" result );
-.PP
 .BI "int srandom_r(unsigned int " seed ", struct random_data *" buf );
 .PP
 .BI "int initstate_r(unsigned int " seed ", char *" statebuf ,
 .BI "                size_t " statelen ", struct random_data *" buf );
-.PP
 .BI "int setstate_r(char *" statebuf ", struct random_data *" buf );
 .fi
 .PP