summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-03-30 06:58:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-03-30 06:58:07 +0000
commitbba6d49a637839f8675a495313848250fdbb2c91 (patch)
treedd6e80d3a2f41034514872b2834e75ee9d7d6b37 /lib/libc/sys
parent22c99bcd0d1aacbc678f4a711ffe6a55178e6c28 (diff)
some Xr adjustment to catch up with MLINKS removal;
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/__get_tcb.28
-rw-r--r--lib/libc/sys/getthrid.26
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/__get_tcb.2 b/lib/libc/sys/__get_tcb.2
index 18074de2b4f..123fe02df16 100644
--- a/lib/libc/sys/__get_tcb.2
+++ b/lib/libc/sys/__get_tcb.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: __get_tcb.2,v 1.5 2016/03/20 05:00:22 guenther Exp $
+.\" $OpenBSD: __get_tcb.2,v 1.6 2016/03/30 06:58:06 jmc Exp $
.\"
.\" Copyright (c) 2011 Philip Guenther <guenther@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 20 2016 $
+.Dd $Mdocdate: March 30 2016 $
.Dt __GET_TCB 2
.Os
.Sh NAME
@@ -45,7 +45,7 @@ or
.Xr vfork 2
inherits the TCB address of the thread that created it.
A thread created using
-.Xr __tfork 2
+.Xr __tfork 3
starts with the TCB address specified in that call.
.Xr execve 2
resets the thread's TCB address to zero.
@@ -56,7 +56,7 @@ register which can be accessed from userspace.
.Fn __get_tcb
returns the address of the thread control block of the current thread.
.Sh SEE ALSO
-.Xr __tfork 2
+.Xr __tfork 3
.Sh HISTORY
The
.Fn __get_tcb
diff --git a/lib/libc/sys/getthrid.2 b/lib/libc/sys/getthrid.2
index 8f639f8c21d..7c812610b19 100644
--- a/lib/libc/sys/getthrid.2
+++ b/lib/libc/sys/getthrid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getthrid.2,v 1.3 2015/05/31 23:54:25 schwarze Exp $
+.\" $OpenBSD: getthrid.2,v 1.4 2016/03/30 06:58:06 jmc Exp $
.\" $NetBSD: getpid.2,v 1.5 1995/02/27 12:33:12 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getpid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2015 $
+.Dd $Mdocdate: March 30 2016 $
.Dt GETTHRID 2
.Os
.Sh NAME
@@ -63,8 +63,8 @@ to identify threads within the process itself.
This function is always successful, and no return value is
reserved to indicate an error.
.Sh SEE ALSO
-.Xr __tfork 2 ,
.Xr getpid 2 ,
+.Xr __tfork 3 ,
.Xr pthread_create 3 ,
.Xr pthread_self 3
.Sh STANDARDS