Module Name: src
Committed By: wiz
Date: Sun Apr 24 09:01:45 UTC 2016
Modified Files:
src/lib/libpthread: pthread_getcpuclockid.3
Log Message:
Formatting, typos, whitespace fixes.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libpthread/pthread_getcpuclockid.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/pthread_getcpuclockid.3
diff -u src/lib/libpthread/pthread_getcpuclockid.3:1.2 src/lib/libpthread/pthread_getcpuclockid.3:1.3
--- src/lib/libpthread/pthread_getcpuclockid.3:1.2 Sun Apr 24 00:05:28 2016
+++ src/lib/libpthread/pthread_getcpuclockid.3 Sun Apr 24 09:01:45 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_getcpuclockid.3,v 1.2 2016/04/24 00:05:28 christos Exp $
+.\" $NetBSD: pthread_getcpuclockid.3,v 1.3 2016/04/24 09:01:45 wiz Exp $
.\"
.\" Copyright (c) 2016 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -28,11 +28,11 @@
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd April 23, 2016
-.Dt pthread_getcpuclockid 3
+.Dt PTHREAD_GETCPUCLOCKID 3
.Os
.Sh NAME
.Nm pthread_getcpuclockid
-.Nd retrieve the clockid of the give thread
+.Nd retrieve the clockid of the given thread
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
@@ -47,7 +47,7 @@ function retrieves the
for the specified
.Fa thread .
.Pp
-The
+The
.Xr clock_gettime 2
function can be used with the returned
.Fa clock_id
@@ -56,7 +56,7 @@ to retrieve LWP times.
On success the
.Fn pthread_getcpuclockid
function returns 0, placing the requested
-.Fa clock_id
+.Fa clock_id
in the argument.
On error, the value \-1 is returned
and the value of
@@ -70,7 +70,7 @@ No thread with this id was found.
.El
.Sh SEE ALSO
.Xr clock_getcpuclockid2 2 ,
-.Xr clock_gettime 2 ,
+.Xr clock_gettime 2
.Sh STANDARDS
The
.Fn pthread_getcpuclockid