diff options
author | Alexey Zelkin <phantom@FreeBSD.org> | 2003-02-03 10:10:40 +0000 |
---|---|---|
committer | Alexey Zelkin <phantom@FreeBSD.org> | 2003-02-03 10:10:40 +0000 |
commit | f3cf900844d81871f07616d1f4c5cd9dd18db31b (patch) | |
tree | b1b349f6f1336e2a2aa3ab6485c95f21f352f939 | |
parent | 618a8b4df089faeb7aa019ef7aa5b8ac49a37e42 (diff) | |
download | src-f3cf900844d81871f07616d1f4c5cd9dd18db31b.tar.gz src-f3cf900844d81871f07616d1f4c5cd9dd18db31b.zip |
Document additional behaviour of this function (see
rev 1.3 of uthread_attr_get_np.c)
Notes
Notes:
svn path=/head/; revision=110277
-rw-r--r-- | lib/libc_r/man/pthread_attr_get_np.3 | 14 | ||||
-rw-r--r-- | share/man/man3/pthread_attr_get_np.3 | 14 |
2 files changed, 24 insertions, 4 deletions
diff --git a/lib/libc_r/man/pthread_attr_get_np.3 b/lib/libc_r/man/pthread_attr_get_np.3 index 0ca23aa3cab1..78c8fdff0eca 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 diff --git a/share/man/man3/pthread_attr_get_np.3 b/share/man/man3/pthread_attr_get_np.3 index 0ca23aa3cab1..78c8fdff0eca 100644 --- a/share/man/man3/pthread_attr_get_np.3 +++ b/share/man/man3/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 |