summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/__get_tcb.27
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/sys/__get_tcb.2 b/lib/libc/sys/__get_tcb.2
index 45521acac92..e27fde543af 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.2 2011/10/16 06:54:47 guenther Exp $
+.\" $OpenBSD: __get_tcb.2,v 1.3 2012/03/04 21:23:48 guenther 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: October 16 2011 $
+.Dd $Mdocdate: March 4 2012 $
.Dt __GET_TCB 2
.Os
.Sh NAME
@@ -43,8 +43,7 @@ New threads (including the first thread of a new process) created using
.Xr vfork 2 ,
or
.Xr rfork 2 ,
-start with this address set to zero.
-Similarly,
+inherit the TCB address of the thread that created them.
.Xr execve 2
resets it to zero.
.Pp