diff options
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/man/pthread_attr_get_np.3 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc_r/man/pthread_attr_get_np.3 b/lib/libc_r/man/pthread_attr_get_np.3 index 78c8fdf..b14dd23 100644 --- a/lib/libc_r/man/pthread_attr_get_np.3 +++ b/lib/libc_r/man/pthread_attr_get_np.3 @@ -46,9 +46,6 @@ 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 @@ -60,9 +57,15 @@ structure. Parameter .Fa dst should point to allocated memory area big enough to fit this structure. +.Pp It is HIGHLY RECOMMENDED to use .Xr pthread_attr_init 3 function to allocate attribute storage. +.Sh IMPLEMENTATION DETAILS +The +.Fn pthread_attr_get_np +function will always return pointer to thread's real stack address +regardless to its value in original attributes structure. .Sh EXAMPLES .Bd -literal size_t @@ -100,6 +103,7 @@ thread ID. .Xr pthread_attr_getschedparam 3 , .Xr pthread_attr_getschedpolicy 3 , .Xr pthread_attr_getscope 3 , +.Xr pthread_attr_getstack 3 , .Xr pthread_attr_getstackaddr 3 , .Xr pthread_attr_getstacksize 3 , .Xr pthread_attr_init 3 |