aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/circleq.34
-rw-r--r--man3/clock_getcpuclockid.34
-rw-r--r--man3/cmsg.32
-rw-r--r--man3/dl_iterate_phdr.310
-rw-r--r--man3/dlopen.34
-rw-r--r--man3/endian.34
-rw-r--r--man3/fgetgrent.32
-rw-r--r--man3/getdate.36
-rw-r--r--man3/getgrent.32
-rw-r--r--man3/getgrent_r.32
-rw-r--r--man3/getgrnam.32
-rw-r--r--man3/getifaddrs.34
-rw-r--r--man3/getspnam.34
-rw-r--r--man3/if_nameindex.32
-rw-r--r--man3/list.34
-rw-r--r--man3/mallinfo.34
-rw-r--r--man3/matherr.36
-rw-r--r--man3/mtrace.32
-rw-r--r--man3/nan.32
-rw-r--r--man3/newlocale.32
-rw-r--r--man3/pthread_cleanup_push.34
-rw-r--r--man3/pthread_create.32
-rw-r--r--man3/pthread_setschedparam.32
-rw-r--r--man3/readdir.32
-rw-r--r--man3/shm_open.32
-rw-r--r--man3/slist.34
-rw-r--r--man3/stailq.36
-rw-r--r--man3/tailq.34
-rw-r--r--man3/tzset.34
29 files changed, 51 insertions, 51 deletions
diff --git a/man3/circleq.3 b/man3/circleq.3
index f21bbf903a..fefe2c975e 100644
--- a/man3/circleq.3
+++ b/man3/circleq.3
@@ -318,10 +318,10 @@ main(void)
/* Forward traversal */
i = 0;
CIRCLEQ_FOREACH(np, &head, entries)
- np->data = i++;
+ np\->data = i++;
/* Reverse traversal */
CIRCLEQ_FOREACH_REVERSE(np, &head, entries)
- printf("%i\en", np->data);
+ printf("%i\en", np\->data);
/* Queue deletion */
n1 = CIRCLEQ_FIRST(&head);
while (n1 != (void *)&head) {
diff --git a/man3/clock_getcpuclockid.3 b/man3/clock_getcpuclockid.3
index 1c7a8c8b3c..0239d19ecd 100644
--- a/man3/clock_getcpuclockid.3
+++ b/man3/clock_getcpuclockid.3
@@ -124,7 +124,7 @@ An example run is the following:
.in +4n
.EX
.RB "$" " ./a.out 1" " # Show CPU clock of init process"
-CPU-time clock for PID 1 is 2.213466748 seconds
+CPU\-time clock for PID 1 is 2.213466748 seconds
.EE
.in
.SS Program source
@@ -158,7 +158,7 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
- printf("CPU-time clock for PID %s is %jd.%09ld seconds\en",
+ printf("CPU\-time clock for PID %s is %jd.%09ld seconds\en",
argv[1], (intmax_t) ts.tv_sec, ts.tv_nsec);
exit(EXIT_SUCCESS);
}
diff --git a/man3/cmsg.3 b/man3/cmsg.3
index f3bda53cda..bd30cd29f1 100644
--- a/man3/cmsg.3
+++ b/man3/cmsg.3
@@ -57,7 +57,7 @@ struct cmsghdr {
size_t cmsg_len; /* Data byte count, including header
(type is socklen_t in POSIX) */
int cmsg_level; /* Originating protocol */
- int cmsg_type; /* Protocol-specific type */
+ int cmsg_type; /* Protocol\-specific type */
/* followed by
unsigned char cmsg_data[]; */
};
diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3
index 6f57d684c6..a32f0a80ef 100644
--- a/man3/dl_iterate_phdr.3
+++ b/man3/dl_iterate_phdr.3
@@ -77,7 +77,7 @@ argument is a structure of the following type:
.EX
struct dl_phdr_info {
ElfW(Addr) dlpi_addr; /* Base address of object */
- const char *dlpi_name; /* (Null-terminated) name of
+ const char *dlpi_name; /* (Null\-terminated) name of
object */
const ElfW(Phdr) *dlpi_phdr; /* Pointer to array of
ELF program headers
@@ -186,11 +186,11 @@ for further details):
#define PT_NOTE 4 /* Auxiliary information */
#define PT_SHLIB 5 /* Reserved */
#define PT_PHDR 6 /* Entry for header table itself */
-#define PT_TLS 7 /* Thread-local storage segment */
+#define PT_TLS 7 /* Thread\-local storage segment */
#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
.\" For PT_GNU_STACK, see http://www.airs.com/blog/archives/518
-#define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
+#define PT_GNU_RELRO 0x6474e552 /* Read\-only after relocation */
.EE
.in
.SH RETURN VALUE
@@ -273,7 +273,7 @@ Name: "" (9 segments)
6: [ 0x400970; memsz: 3c] flags: 0x4; PT_GNU_EH_FRAME
7: [ (nil); memsz: 0] flags: 0x6; PT_GNU_STACK
8: [ 0x600e10; memsz: 1f0] flags: 0x4; PT_GNU_RELRO
-Name: "linux-vdso.so.1" (4 segments)
+Name: "linux\-vdso.so.1" (4 segments)
0: [0x7ffc6edd1000; memsz: e89] flags: 0x5; PT_LOAD
1: [0x7ffc6edd1360; memsz: 110] flags: 0x4; PT_DYNAMIC
2: [0x7ffc6edd17b0; memsz: 3c] flags: 0x4; PT_NOTE
@@ -289,7 +289,7 @@ Name: "/lib64/libc.so.6" (10 segments)
7: [0x7f557145b99c; memsz: 544c] flags: 0x4; PT_GNU_EH_FRAME
8: [0x7f55712ce000; memsz: 0] flags: 0x6; PT_GNU_STACK
9: [0x7f55716857a0; memsz: 3860] flags: 0x4; PT_GNU_RELRO
-Name: "/lib64/ld-linux-x86-64.so.2" (7 segments)
+Name: "/lib64/ld\-linux\-x86\-64.so.2" (7 segments)
0: [0x7f557168f000; memsz: 20828] flags: 0x5; PT_LOAD
1: [0x7f55718afba0; memsz: 15a8] flags: 0x6; PT_LOAD
2: [0x7f55718afe10; memsz: 190] flags: 0x6; PT_DYNAMIC
diff --git a/man3/dlopen.3 b/man3/dlopen.3
index 45e275fba0..a86450e9b8 100644
--- a/man3/dlopen.3
+++ b/man3/dlopen.3
@@ -594,7 +594,7 @@ main(void)
/* According to the ISO C standard, casting between function
pointers and \(aqvoid *\(aq, as done above, produces undefined results.
- POSIX.1-2001 and POSIX.1-2008 accepted this state of affairs and
+ POSIX.1\-2001 and POSIX.1\-2008 accepted this state of affairs and
proposed the following workaround:
*(void **) (&cosine) = dlsym(handle, "cos");
@@ -602,7 +602,7 @@ main(void)
This (clumsy) cast conforms with the ISO C standard and will
avoid any compiler warnings.
- The 2013 Technical Corrigendum 1 to POSIX.1-2008 improved matters
+ The 2013 Technical Corrigendum 1 to POSIX.1\-2008 improved matters
by requiring that conforming implementations support casting
\(aqvoid *\(aq to a function pointer. Nevertheless, some compilers
(e.g., gcc with the \(aq\-pedantic\(aq option) may complain about the
diff --git a/man3/endian.3 b/man3/endian.3
index e661c5a26d..6e692aa362 100644
--- a/man3/endian.3
+++ b/man3/endian.3
@@ -161,10 +161,10 @@ main(int argc, char *argv[])
uint8_t arr[4];
} x;
- x.arr[0] = 0x11; /* Lowest-address byte */
+ x.arr[0] = 0x11; /* Lowest\-address byte */
x.arr[1] = 0x22;
x.arr[2] = 0x33;
- x.arr[3] = 0x44; /* Highest-address byte */
+ x.arr[3] = 0x44; /* Highest\-address byte */
printf("x.u32 = %#x\en", x.u32);
printf("htole32(x.u32) = %#x\en", htole32(x.u32));
diff --git a/man3/fgetgrent.3 b/man3/fgetgrent.3
index 77b73e9192..3c9f74999b 100644
--- a/man3/fgetgrent.3
+++ b/man3/fgetgrent.3
@@ -74,7 +74,7 @@ struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */
gid_t gr_gid; /* group ID */
- char **gr_mem; /* NULL-terminated array of pointers
+ char **gr_mem; /* NULL\-terminated array of pointers
to names of group members */
};
.EE
diff --git a/man3/getdate.3 b/man3/getdate.3
index e4fba9a033..1f84323031 100644
--- a/man3/getdate.3
+++ b/man3/getdate.3
@@ -248,11 +248,11 @@ The following shell session demonstrates the operation of the program:
.EX
.RB "$" " TFILE=$PWD/tfile"
.RB "$" " echo \(aq%A\(aq > $TFILE " " # Full name of the day of the week"
-.RB "$" " echo \(aq%T\(aq >> $TFILE" " # ISO date (YYYY-MM-DD)"
+.RB "$" " echo \(aq%T\(aq >> $TFILE" " # ISO date (YYYY\-MM\-DD)"
.RB "$" " echo \(aq%F\(aq >> $TFILE" " # Time (HH:MM:SS)"
.RB "$" " date"
.RB "$" " export DATEMSK=$TFILE"
-.RB "$" " ./a.out Tuesday \(aq2009-12-28\(aq \(aq12:22:33\(aq"
+.RB "$" " ./a.out Tuesday \(aq2009\-12\-28\(aq \(aq12:22:33\(aq"
Sun Sep 7 06:03:36 CEST 2008
Call 1 ("Tuesday") succeeded:
tm_sec = 36
@@ -264,7 +264,7 @@ Call 1 ("Tuesday") succeeded:
tm_wday = 2
tm_yday = 252
tm_isdst = 1
-Call 2 ("2009-12-28") succeeded:
+Call 2 ("2009\-12\-28") succeeded:
tm_sec = 36
tm_min = 3
tm_hour = 6
diff --git a/man3/getgrent.3 b/man3/getgrent.3
index 63336bac1e..12f4641bfd 100644
--- a/man3/getgrent.3
+++ b/man3/getgrent.3
@@ -97,7 +97,7 @@ struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */
gid_t gr_gid; /* group ID */
- char **gr_mem; /* NULL-terminated array of pointers
+ char **gr_mem; /* NULL\-terminated array of pointers
to names of group members */
};
.EE
diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3
index d7bd5c0b7b..55d9d698f4 100644
--- a/man3/getgrent_r.3
+++ b/man3/getgrent_r.3
@@ -74,7 +74,7 @@ struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */
gid_t gr_gid; /* group ID */
- char **gr_mem; /* NULL-terminated array of pointers
+ char **gr_mem; /* NULL\-terminated array of pointers
to names of group members */
};
.EE
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index 0f296fd24c..87f61c2604 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -84,7 +84,7 @@ struct group {
char *gr_name; /* group name */
char *gr_passwd; /* group password */
gid_t gr_gid; /* group ID */
- char **gr_mem; /* NULL-terminated array of pointers
+ char **gr_mem; /* NULL\-terminated array of pointers
to names of group members */
};
.EE
diff --git a/man3/getifaddrs.3 b/man3/getifaddrs.3
index ba6301fbab..c306dc571d 100644
--- a/man3/getifaddrs.3
+++ b/man3/getifaddrs.3
@@ -67,11 +67,11 @@ struct ifaddrs {
struct sockaddr *ifu_broadaddr;
/* Broadcast address of interface */
struct sockaddr *ifu_dstaddr;
- /* Point-to-point destination address */
+ /* Point\-to\-point destination address */
} ifa_ifu;
#define ifa_broadaddr ifa_ifu.ifu_broadaddr
#define ifa_dstaddr ifa_ifu.ifu_dstaddr
- void *ifa_data; /* Address-specific data */
+ void *ifa_data; /* Address\-specific data */
};
.EE
.in
diff --git a/man3/getspnam.3 b/man3/getspnam.3
index a92627fc41..73ec44ca23 100644
--- a/man3/getspnam.3
+++ b/man3/getspnam.3
@@ -188,7 +188,7 @@ struct spwd {
char *sp_pwdp; /* Encrypted password */
long sp_lstchg; /* Date of last change
(measured in days since
- 1970-01-01 00:00:00 +0000 (UTC)) */
+ 1970\-01\-01 00:00:00 +0000 (UTC)) */
long sp_min; /* Min # of days between changes */
long sp_max; /* Max # of days between changes */
long sp_warn; /* # of days before password expires
@@ -197,7 +197,7 @@ struct spwd {
until account is disabled */
long sp_expire; /* Date when account expires
(measured in days since
- 1970-01-01 00:00:00 +0000 (UTC)) */
+ 1970\-01\-01 00:00:00 +0000 (UTC)) */
unsigned long sp_flag; /* Reserved */
};
.EE
diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3
index f6f59fcdea..1bd4e43992 100644
--- a/man3/if_nameindex.3
+++ b/man3/if_nameindex.3
@@ -47,7 +47,7 @@ structure contains at least the following entries:
.in +4n
.EX
unsigned int if_index; /* Index of interface (1, 2, ...) */
-char *if_name; /* Null-terminated name ("eth0", etc.) */
+char *if_name; /* Null\-terminated name ("eth0", etc.) */
.EE
.in
.PP
diff --git a/man3/list.3 b/man3/list.3
index 2aec5ac646..94391f3736 100644
--- a/man3/list.3
+++ b/man3/list.3
@@ -303,13 +303,13 @@ main(void)
i = 0; /* Forward traversal */
LIST_FOREACH(np, &head, entries)
- np->data = i++;
+ np\->data = i++;
LIST_REMOVE(n2, entries); /* Deletion */
free(n2);
/* Forward traversal */
LIST_FOREACH(np, &head, entries)
- printf("%i\en", np->data);
+ printf("%i\en", np\->data);
/* List deletion */
n1 = LIST_FIRST(&head);
while (n1 != NULL) {
diff --git a/man3/mallinfo.3 b/man3/mallinfo.3
index a225b4c336..2f2c71b01a 100644
--- a/man3/mallinfo.3
+++ b/man3/mallinfo.3
@@ -56,7 +56,7 @@ is defined as follows:
.in +4n
.EX
struct mallinfo2 {
- size_t arena; /* Non-mmapped space allocated (bytes) */
+ size_t arena; /* Non\-mmapped space allocated (bytes) */
size_t ordblks; /* Number of free chunks */
size_t smblks; /* Number of free fastbin blocks */
size_t hblks; /* Number of mmapped regions */
@@ -66,7 +66,7 @@ struct mallinfo2 {
size_t fsmblks; /* Space in freed fastbin blocks (bytes) */
size_t uordblks; /* Total allocated space (bytes) */
size_t fordblks; /* Total free space (bytes) */
- size_t keepcost; /* Top-most, releasable space (bytes) */
+ size_t keepcost; /* Top\-most, releasable space (bytes) */
};
.EE
.in
diff --git a/man3/matherr.3 b/man3/matherr.3
index 2d3478d992..dd73041045 100644
--- a/man3/matherr.3
+++ b/man3/matherr.3
@@ -322,7 +322,7 @@ is given an argument of 0.0, does not use
.EX
.RB "$" " ./a.out 0.0"
errno: Numerical result out of range
-x=-inf
+x=\-inf
.EE
.in
.PP
@@ -338,7 +338,7 @@ matherr SING exception in log() function
retval: \-340282346638528859811704183484516925440.000000
log: SING error
errno: Numerical argument out of domain
-x=-340282346638528859811704183484516925440.000000
+x=\-340282346638528859811704183484516925440.000000
.EE
.in
.PP
@@ -354,7 +354,7 @@ is called, and returns a nonzero value:
matherr SING exception in log() function
args: 0.000000, 0.000000
retval: \-340282346638528859811704183484516925440.000000
-x=-340282346638528859811704183484516925440.000000
+x=\-340282346638528859811704183484516925440.000000
.EE
.in
.PP
diff --git a/man3/mtrace.3 b/man3/mtrace.3
index 428dafcda4..bd60e7b315 100644
--- a/man3/mtrace.3
+++ b/man3/mtrace.3
@@ -173,7 +173,7 @@ diagnosed memory leaks at two different locations in the program:
.RB "$ " "./t_mtrace"
.RB "$ " "mtrace ./t_mtrace $MALLOC_TRACE"
Memory not freed:
------------------
+-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
Address Size Caller
0x084c9378 0x64 at /home/cecilia/t_mtrace.c:12
0x084c93e0 0x64 at /home/cecilia/t_mtrace.c:12
diff --git a/man3/nan.3 b/man3/nan.3
index b17b622300..acdcfc573b 100644
--- a/man3/nan.3
+++ b/man3/nan.3
@@ -46,7 +46,7 @@ is equivalent to:
.PP
.in +4n
.EX
-strtod("NAN(char-sequence)", NULL);
+strtod("NAN(char\-sequence)", NULL);
.EE
.in
.PP
diff --git a/man3/newlocale.3 b/man3/newlocale.3
index d95c14ba9a..92766ffe49 100644
--- a/man3/newlocale.3
+++ b/man3/newlocale.3
@@ -289,7 +289,7 @@ New Zealand Māori):
.EX
$ LC_ALL=mi_NZ ./a.out fr_FR ""
123456,789
-Te Paraire, te 07 o Poutū-te-rangi, 2014 00:38:44 CET
+Te Paraire, te 07 o Poutū\-te\-rangi, 2014 00:38:44 CET
.EE
.in
.SS Program source
diff --git a/man3/pthread_cleanup_push.3 b/man3/pthread_cleanup_push.3
index bba0644380..22b29cf029 100644
--- a/man3/pthread_cleanup_push.3
+++ b/man3/pthread_cleanup_push.3
@@ -195,7 +195,7 @@ New thread started
cnt = 0
cnt = 1
Canceling thread
-Called clean-up handler
+Called clean\-up handler
Thread was canceled; cnt = 0
.EE
.in
@@ -236,7 +236,7 @@ $ \fB./a.out x 1\fP
New thread started
cnt = 0
cnt = 1
-Called clean-up handler
+Called clean\-up handler
Thread terminated normally; cnt = 0
.EE
.in
diff --git a/man3/pthread_create.3 b/man3/pthread_create.3
index 4bd3996df2..40984d4edf 100644
--- a/man3/pthread_create.3
+++ b/man3/pthread_create.3
@@ -342,7 +342,7 @@ main(int argc, char *argv[])
break;
default:
- fprintf(stderr, "Usage: %s [\-s stack-size] arg...\en",
+ fprintf(stderr, "Usage: %s [\-s stack\-size] arg...\en",
argv[0]);
exit(EXIT_FAILURE);
}
diff --git a/man3/pthread_setschedparam.3 b/man3/pthread_setschedparam.3
index 6798c0ebb2..b3ec5009cc 100644
--- a/man3/pthread_setschedparam.3
+++ b/man3/pthread_setschedparam.3
@@ -190,7 +190,7 @@ and that thread displays its scheduling policy and priority.
.PP
.in +4n
.EX
-$ \fBsu\fP # Need privilege to set real-time scheduling policies
+$ \fBsu\fP # Need privilege to set real\-time scheduling policies
Password:
# \fB./a.out \-mf10 \-ar20 \-i e\fP
Scheduler settings of main thread
diff --git a/man3/readdir.3 b/man3/readdir.3
index 442d039ab5..eb5c339e1c 100644
--- a/man3/readdir.3
+++ b/man3/readdir.3
@@ -63,7 +63,7 @@ struct dirent {
unsigned short d_reclen; /* Length of this record */
unsigned char d_type; /* Type of file; not supported
by all filesystem types */
- char d_name[256]; /* Null-terminated filename */
+ char d_name[256]; /* Null\-terminated filename */
};
.EE
.in
diff --git a/man3/shm_open.3 b/man3/shm_open.3
index 80d1eae178..c5ce650afb 100644
--- a/man3/shm_open.3
+++ b/man3/shm_open.3
@@ -386,7 +386,7 @@ main(int argc, char *argv[])
if (shmp == MAP_FAILED)
errExit("mmap");
- /* Initialize semaphores as process-shared, with value 0. */
+ /* Initialize semaphores as process\-shared, with value 0. */
if (sem_init(&shmp\->sem1, 1, 0) == \-1)
errExit("sem_init\-sem1");
diff --git a/man3/slist.3 b/man3/slist.3
index 9cd4dfea53..9130ec95ff 100644
--- a/man3/slist.3
+++ b/man3/slist.3
@@ -316,12 +316,12 @@ main(void)
for (int i = 0; i < 5; i++) {
n1 = malloc(sizeof(struct entry));
SLIST_INSERT_HEAD(&head, n1, entries);
- n1->data = i;
+ n1\->data = i;
}
/* Forward traversal */
SLIST_FOREACH(np, &head, entries)
- printf("%i\en", np->data);
+ printf("%i\en", np\->data);
while (!SLIST_EMPTY(&head)) { /* List deletion */
n1 = SLIST_FIRST(&head);
diff --git a/man3/stailq.3 b/man3/stailq.3
index 8514b39989..b43f9c60b3 100644
--- a/man3/stailq.3
+++ b/man3/stailq.3
@@ -339,15 +339,15 @@ main(void)
free(n3);
n1 = STAILQ_FIRST(&head);
- n1->data = 0;
+ n1\->data = 0;
for (int i = 1; i < 5; i++) {
n1 = malloc(sizeof(struct entry));
STAILQ_INSERT_HEAD(&head, n1, entries);
- n1->data = i;
+ n1\->data = i;
}
/* Forward traversal */
STAILQ_FOREACH(np, &head, entries)
- printf("%i\en", np->data);
+ printf("%i\en", np\->data);
/* TailQ deletion */
n1 = STAILQ_FIRST(&head);
while (n1 != NULL) {
diff --git a/man3/tailq.3 b/man3/tailq.3
index 75ab7e1cf6..daf3bd91e3 100644
--- a/man3/tailq.3
+++ b/man3/tailq.3
@@ -395,10 +395,10 @@ main(void)
/* Forward traversal */
i = 0;
TAILQ_FOREACH(np, &head, entries)
- np->data = i++;
+ np\->data = i++;
/* Reverse traversal */
TAILQ_FOREACH_REVERSE(np, &head, tailhead, entries)
- printf("%i\en", np->data);
+ printf("%i\en", np\->data);
/* TailQ deletion */
n1 = TAILQ_FIRST(&head);
while (n1 != NULL) {
diff --git a/man3/tzset.3 b/man3/tzset.3
index ff0ea14942..7a92d0991c 100644
--- a/man3/tzset.3
+++ b/man3/tzset.3
@@ -123,7 +123,7 @@ The hour must be between 0 and 24, and the minutes and seconds 00 and 59:
.PP
.in +4n
.EX
-.RI [ + | - ] hh [ :mm [ :ss ]]
+.RI [ + | \- ] hh [ :mm [ :ss ]]
.EE
.in
.PP
@@ -167,7 +167,7 @@ and the changeovers happen at the default time of 02:00:00:
.PP
.in +4n
.EX
-TZ="NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0"
+TZ="NZST\-12:00:00NZDT\-13:00:00,M10.1.0,M3.3.0"
.EE
.in
.PP