diff options
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/clock.3 | 4 | ||||
| -rw-r--r-- | man3/clock_getcpuclockid.3 | 6 | ||||
| -rw-r--r-- | man3/ftime.3 | 2 | ||||
| -rw-r--r-- | man3/pthread_create.3 | 2 | ||||
| -rw-r--r-- | man3/pthread_getcpuclockid.3 | 12 | ||||
| -rw-r--r-- | man3/pthread_tryjoin_np.3 | 2 | ||||
| -rw-r--r-- | man3/sem_wait.3 | 2 |
7 files changed, 15 insertions, 15 deletions
diff --git a/man3/clock.3 b/man3/clock.3 index 6729d4111a..704818f484 100644 --- a/man3/clock.3 +++ b/man3/clock.3 @@ -82,6 +82,6 @@ The function, which explicitly returns (separate) information about the caller and its children, may be preferable. .SH "SEE ALSO" +.BR clock_gettime (2), .BR getrusage (2), -.BR times (2), -.BR clock_gettime (3) +.BR times (2) diff --git a/man3/clock_getcpuclockid.3 b/man3/clock_getcpuclockid.3 index ffca7134be..91869036f4 100644 --- a/man3/clock_getcpuclockid.3 +++ b/man3/clock_getcpuclockid.3 @@ -83,7 +83,7 @@ function is available in glibc since version 2.2. POSIX.1-2001. .SH NOTES Calling -.BR clock_gettime (3) +.BR clock_gettime (2) with the clock ID obtained by a call to .BR clock_getcpuclockid () with a @@ -95,7 +95,7 @@ is the same as using the clock ID The example program below obtains the CPU-time clock ID of the process whose ID is given on the command line, and then uses -.BR clock_gettime (3) +.BR clock_gettime (2) to obtain the time on that clock. An example run is the following: .in +4n @@ -141,6 +141,6 @@ main(int argc, char *argv[]) } .fi .SH SEE ALSO -.BR clock_getres (3), +.BR clock_getres (2), .BR pthread_getcpuclockid (3), .BR time (7) diff --git a/man3/ftime.3 b/man3/ftime.3 index a799382374..7e31e2734d 100644 --- a/man3/ftime.3 +++ b/man3/ftime.3 @@ -81,7 +81,7 @@ suffices, can be used; .BR gettimeofday (2) gives microseconds; -.BR clock_gettime (3) +.BR clock_gettime (2) gives nanoseconds but is not yet widely available. .LP Under libc4 and libc5 the \fImillitm\fP field is meaningful. diff --git a/man3/pthread_create.3 b/man3/pthread_create.3 index b1ce3c2bd8..b587a1f187 100644 --- a/man3/pthread_create.3 +++ b/man3/pthread_create.3 @@ -103,7 +103,7 @@ The new thread inherits the calling thread's floating-point environment The initial value of the new thread's CPU-time clock is 0 (see .BR pthread_getcpuclockid (3)). -.\" CLOCK_THREAD_CPUTIME_ID in clock_gettime(3) +.\" CLOCK_THREAD_CPUTIME_ID in clock_gettime(2) .SS Linux-specific details The new thread inherits copies of the calling thread's capability sets (see diff --git a/man3/pthread_getcpuclockid.3 b/man3/pthread_getcpuclockid.3 index 791302de0f..23b40d989a 100644 --- a/man3/pthread_getcpuclockid.3 +++ b/man3/pthread_getcpuclockid.3 @@ -67,14 +67,14 @@ When refers to the calling thread, this function returns an identifier that refers to the same clock manipulated by -.BR clock_gettime (3) +.BR clock_gettime (2) and -.BR clock_settime (3) +.BR clock_settime (2) when given the clock ID .BR CLOCK_THREAD_CPUTIME_ID . .SH EXAMPLE The program below creates a thread and then uses -.BR clock_gettime (3) +.BR clock_gettime (2) to retrieve the total process CPU time, and the per-thread CPU time consumed by the two threads. The following shell session shows an example run: @@ -164,10 +164,10 @@ main(int argc, char *argv[]) } .fi .SH SEE ALSO -.BR clock_gettime (3), -.BR clock_settime (3), -.BR clock_getcpuclockid (3), +.BR clock_gettime (2), +.BR clock_settime (2), .BR timer_create (2), +.BR clock_getcpuclockid (3), .BR pthread_self (3), .BR pthreads (7), .BR time (7) diff --git a/man3/pthread_tryjoin_np.3 b/man3/pthread_tryjoin_np.3 index 85a6f34605..0d5e5b5894 100644 --- a/man3/pthread_tryjoin_np.3 +++ b/man3/pthread_tryjoin_np.3 @@ -131,7 +131,7 @@ The following code waits to join for up to 5 seconds: } .fi .SH SEE ALSO -.BR clock_gettime (3), +.BR clock_gettime (2), .BR pthread_join (3), .BR pthread_exit (3), .BR pthreads (7) diff --git a/man3/sem_wait.3 b/man3/sem_wait.3 index 1c848fd572..c799100919 100644 --- a/man3/sem_wait.3 +++ b/man3/sem_wait.3 @@ -262,7 +262,7 @@ main(int argc, char *argv[]) .fi .SH "SEE ALSO" .\" FIXME . when this page has been added to the man-pages set: -.\" .BR clock_gettime (3), +.\" .BR clock_gettime (2), .BR sem_getvalue (3), .BR sem_post (3), .BR sem_overview (7), |
