aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/dl_iterate_phdr.34
-rw-r--r--man3/dlinfo.34
-rw-r--r--man3/dlopen.36
-rw-r--r--man3/insque.32
-rw-r--r--man3/newlocale.36
-rw-r--r--man3/printf.32
-rw-r--r--man3/pthread_setname_np.32
-rw-r--r--man3/rpc.32
-rw-r--r--man3/stdarg.32
-rw-r--r--man3/strfmon.32
10 files changed, 16 insertions, 16 deletions
diff --git a/man3/dl_iterate_phdr.3 b/man3/dl_iterate_phdr.3
index a8a85d8e67..87eb8e5635 100644
--- a/man3/dl_iterate_phdr.3
+++ b/man3/dl_iterate_phdr.3
@@ -99,8 +99,8 @@ struct dl_phdr_info {
/* If there is a PT_TLS segment, its module
ID as used in TLS relocations, else zero */
void *dlpi_tls_data;
- /* The address of the calling thread's instance
- of this module's PT_TLS segment, if it has
+ /* The address of the calling thread\(aqs instance
+ of this module\(aqs PT_TLS segment, if it has
one and it has been allocated in the calling
thread, otherwise a null pointer */
};
diff --git a/man3/dlinfo.3 b/man3/dlinfo.3
index cdf63b3f31..10e0b3346a 100644
--- a/man3/dlinfo.3
+++ b/man3/dlinfo.3
@@ -159,9 +159,9 @@ typedef struct {
size_t dls_size; /* Size in bytes of
the whole buffer */
unsigned int dls_cnt; /* Number of elements
- in 'dls_serpath' */
+ in \(aqdls_serpath\(aq */
Dl_serpath dls_serpath[1]; /* Actually longer,
- 'dls_cnt' elements */
+ \(aqdls_cnt\(aq elements */
} Dl_serinfo;
.EE
.in
diff --git a/man3/dlopen.3 b/man3/dlopen.3
index a66945ac41..3f90fb9483 100644
--- a/man3/dlopen.3
+++ b/man3/dlopen.3
@@ -587,7 +587,7 @@ main(void)
cosine = (double (*)(double)) dlsym(handle, "cos");
/* According to the ISO C standard, casting between function
- pointers and 'void *', as done above, produces undefined results.
+ pointers and \(aqvoid *\(aq, as done above, produces undefined results.
POSIX.1-2001 and POSIX.1-2008 accepted this state of affairs and
proposed the following workaround:
@@ -598,8 +598,8 @@ main(void)
The 2013 Technical Corrigendum 1 to POSIX.1-2008 improved matters
by requiring that conforming implementations support casting
- 'void *' to a function pointer. Nevertheless, some compilers
- (e.g., gcc with the '\-pedantic' option) may complain about the
+ \(aqvoid *\(aq to a function pointer. Nevertheless, some compilers
+ (e.g., gcc with the \(aq\-pedantic\(aq option) may complain about the
cast used in this program. */
.\" http://pubs.opengroup.org/onlinepubs/009695399/functions/dlsym.html#tag_03_112_08
.\" http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html#tag_16_96_07
diff --git a/man3/insque.3 b/man3/insque.3
index b49040c1b3..28dbfa3fa7 100644
--- a/man3/insque.3
+++ b/man3/insque.3
@@ -202,7 +202,7 @@ main(int argc, char *argv[])
circular = 0;
while ((opt = getopt(argc, argv, "c")) != \-1) {
switch (opt) {
- case 'c':
+ case \(aqc\(aq:
circular = 1;
break;
default:
diff --git a/man3/newlocale.3 b/man3/newlocale.3
index 86b961fc62..bcc3b23665 100644
--- a/man3/newlocale.3
+++ b/man3/newlocale.3
@@ -332,8 +332,8 @@ main(int argc, char *argv[])
/* If a second command\-line argument was specified, modify the
locale object to take the LC_TIME settings from the locale
specified in argv[2]. We assign the result of this newlocale()
- call to 'nloc' rather than 'loc', since in some cases, we might
- want to preserve 'loc' if this call fails. */
+ call to \(aqnloc\(aq rather than \(aqloc\(aq, since in some cases, we might
+ want to preserve \(aqloc\(aq if this call fails. */
if (argc > 2) {
nloc = newlocale(LC_TIME_MASK, argv[2], loc);
@@ -365,7 +365,7 @@ main(int argc, char *argv[])
/* Free the locale object */
- uselocale(LC_GLOBAL_HANDLE); /* So 'loc' is no longer in use */
+ uselocale(LC_GLOBAL_HANDLE); /* So \(aqloc\(aq is no longer in use */
freelocale(loc);
exit(EXIT_SUCCESS);
diff --git a/man3/printf.3 b/man3/printf.3
index ce17eaf8ee..8254c99394 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -1148,7 +1148,7 @@ make_message(const char *fmt, ...)
if (n < 0)
return NULL;
- /* One extra byte for '\e0' */
+ /* One extra byte for \(aq\e0\(aq */
size = (size_t) n + 1;
p = malloc(size);
diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
index cb86d135b8..dcbf17155f 100644
--- a/man3/pthread_setname_np.3
+++ b/man3/pthread_setname_np.3
@@ -141,7 +141,7 @@ Created a thread. Default name is: a.out
The thread name after setting it is THREADFOO.
\fB\(haZ\fP # Suspend the program
[1]+ Stopped ./a.out
-.RB "$ " "ps H \-C a.out \-o 'pid tid cmd comm'"
+.RB "$ " "ps H \-C a.out \-o \(aqpid tid cmd comm\(aq"
PID TID CMD COMMAND
5990 5990 ./a.out a.out
5990 5991 ./a.out THREADFOO
diff --git a/man3/rpc.3 b/man3/rpc.3
index f931c3d64d..9bbc0e9982 100644
--- a/man3/rpc.3
+++ b/man3/rpc.3
@@ -264,7 +264,7 @@ will be ignored in all future calls.
.IP
.in +4n
.EX
-\fBCLGET_SERVER_ADDR\fP \fIstruct sockaddr_in \fP // get server's address
+\fBCLGET_SERVER_ADDR\fP \fIstruct sockaddr_in \fP // get server\(aqs address
.EE
.in
.IP
diff --git a/man3/stdarg.3 b/man3/stdarg.3
index 662de73c06..d1391b30e2 100644
--- a/man3/stdarg.3
+++ b/man3/stdarg.3
@@ -280,7 +280,7 @@ with each format character based on the type.
#include <stdarg.h>
void
-foo(char *fmt, ...) /* '...' is C syntax for a variadic function */
+foo(char *fmt, ...) /* \(aq...\(aq is C syntax for a variadic function */
{
va_list ap;
diff --git a/man3/strfmon.3 b/man3/strfmon.3
index 6af4d0db03..0a24e633e5 100644
--- a/man3/strfmon.3
+++ b/man3/strfmon.3
@@ -206,7 +206,7 @@ locales yield
.in +4n
.EX
[ **1234,57 €] [ **1.234,57 EUR]
-[ Fr. **1234.57] [ CHF **1'234.57]
+[ Fr. **1234.57] [ CHF **1\(aq234.57]
[ $**1234.57] [ AUD**1,234.57]
[ £**1234.57] [ GBP**1,234.57]
.EE