summaryrefslogtreecommitdiffstats
path: root/lib/libc_r
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r')
-rw-r--r--lib/libc_r/man/pthread_attr_get_np.314
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/libc_r/man/pthread_attr_get_np.3 b/lib/libc_r/man/pthread_attr_get_np.3
index 0ca23aa..78c8fdf 100644
--- a/lib/libc_r/man/pthread_attr_get_np.3
+++ b/lib/libc_r/man/pthread_attr_get_np.3
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2002 Alexey Zelkin <phantom@FreeBSD.org>
+.\" Copyright (c) 2002,2003 Alexey Zelkin <phantom@FreeBSD.org>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 26, 2002
+.Dd January 31, 2003
.Dt PTHREAD_ATTR_GET_NP 3
.Os
.Sh NAME
@@ -40,6 +40,16 @@
The
.Fn pthread_attr_get_np
function is used to get existent thread's attributes.
+Most fields of
+.Vt pthread_attr_t
+structure are exact values of attributes provided at thread creation
+time (as parameter to
+.Fn pthread_create
+function), except stack address.
+.Fn pthread_attr_get_np
+will always return pointer to thread's real stack address regardless
+to its value in original attributes structure.
+.Pp
Value returned as
.Fa dst
is supposed to be used in conjunction with
OpenPOWER on IntegriCloud