summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2014-08-31 06:41:23 +0000
committerjmc <jmc@openbsd.org>2014-08-31 06:41:23 +0000
commit178881246a76c6a9b06504a45be9ffa40c6e6a6f (patch)
tree9e4817f7225dba9b748f03f23fe5105251c443a4 /lib/libc
parentDo not overwrite examplessum; use the one we are provided with. (diff)
downloadwireguard-openbsd-178881246a76c6a9b06504a45be9ffa40c6e6a6f.tar.xz
wireguard-openbsd-178881246a76c6a9b06504a45be9ffa40c6e6a6f.zip
tweaks;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getthrid.216
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/sys/getthrid.2 b/lib/libc/sys/getthrid.2
index d92180f82a8..9caa38a9571 100644
--- a/lib/libc/sys/getthrid.2
+++ b/lib/libc/sys/getthrid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getthrid.2,v 1.1 2014/08/31 04:02:08 guenther Exp $
+.\" $OpenBSD: getthrid.2,v 1.2 2014/08/31 06:41:23 jmc Exp $
.\" $NetBSD: getpid.2,v 1.5 1995/02/27 12:33:12 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -46,27 +46,27 @@ returns the thread ID of the calling thread.
This is used in the implementation of the thread library
.Pq Fl lpthread
and can appear in the output of system utilities such as
-.Xr ps
+.Xr ps 1
and
-.Xr kdump .
+.Xr kdump 1 .
.Pp
Thread IDs are not a stable interface and should not be used directly
by applications except for correlation with system utility output.
Applications should use the
.Vt pthread_t
values from
-.Xr pthread_self
+.Xr pthread_self 3
and
-.Xr pthread_create
+.Xr pthread_create 3
to identify threads within the process itself.
.Sh RETURN VALUES
This function is always successful, and no return value is
reserved to indicate an error.
.Sh SEE ALSO
-.Xr getpid 2 ,
.Xr __tfork 2 ,
-.Xr pthread_self 3 ,
-.Xr pthread_create 3
+.Xr getpid 2 ,
+.Xr pthread_create 3 ,
+.Xr pthread_self 3
.Sh STANDARDS
The
.Nm