summaryrefslogtreecommitdiff
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2010-01-16 18:36:10 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2010-01-16 18:36:10 +0100
commit310672d6b1cbbd5970babfe0cd2b1cb5e49b67d2 (patch)
treefafe4b70a2bdbba7ed848c704d27482886af4ae3 /man3
parentf52bc8cd160c8099aff5fb1dfe3d565a9fd73300 (diff)
ioctl_list.2, mount.2, select_tut.2, stat.2, getifaddrs.3, pthread_cleanup_push_defer_np.3, pthread_getcpuclockid.3, proc.5, bootparam.7: Global fix: s/sub-/sub/
The tendency in English, as prescribed in style guides like Chicago MoS, is towards removing hyphens after prefixes like "sub-" etc. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/getifaddrs.32
-rw-r--r--man3/pthread_cleanup_push_defer_np.32
-rw-r--r--man3/pthread_getcpuclockid.38
3 files changed, 6 insertions, 6 deletions
diff --git a/man3/getifaddrs.3 b/man3/getifaddrs.3
index 180a4bb5..7e8aa259 100644
--- a/man3/getifaddrs.3
+++ b/man3/getifaddrs.3
@@ -100,7 +100,7 @@ The
field points to a structure containing the interface address.
(The
.I sa_family
-sub-field should be consulted to determine the format of the
+subfield should be consulted to determine the format of the
address structure.)
.PP
The
diff --git a/man3/pthread_cleanup_push_defer_np.3 b/man3/pthread_cleanup_push_defer_np.3
index 93eda45e..ca4cacb7 100644
--- a/man3/pthread_cleanup_push_defer_np.3
+++ b/man3/pthread_cleanup_push_defer_np.3
@@ -80,7 +80,7 @@ pthread_cleanup_pop_restore_np(execute);
is equivalent to (but shorter and more efficient than):
-.\" As far as I can see, LinuxThreads reverses the two sub-steps
+.\" As far as I can see, LinuxThreads reverses the two substeps
.\" in the push and pop below.
.in +4n
.nf
diff --git a/man3/pthread_getcpuclockid.3 b/man3/pthread_getcpuclockid.3
index 229734a4..de03fe50 100644
--- a/man3/pthread_getcpuclockid.3
+++ b/man3/pthread_getcpuclockid.3
@@ -82,11 +82,11 @@ The following shell session shows an example run:
.nf
$ \fB./a.out\fP
Main thread sleeping
-Sub-thread starting infinite loop
+Subthread starting infinite loop
Main thread consuming some CPU time...
Process total CPU time: 1.368
Main thread CPU time: 0.376
-Sub-thread CPU time: 0.992
+Subthread CPU time: 0.992
.fi
.in
.SS Program source
@@ -111,7 +111,7 @@ Sub-thread CPU time: 0.992
static void *
thread_start(void *arg)
{
- printf("Sub\-thread starting infinite loop\\n");
+ printf("Subthread starting infinite loop\\n");
for (;;)
continue;
}
@@ -158,7 +158,7 @@ main(int argc, char *argv[])
s = pthread_getcpuclockid(thread, &cid);
if (s != 0)
handle_error_en(s, "pthread_getcpuclockid");
- pclock("Sub\-thread CPU time: ", cid);
+ pclock("Subthread CPU time: 1 ", cid);
exit(EXIT_SUCCESS); /* Terminates both threads */
}