diff options
| author | Alexey Zelkin <phantom@FreeBSD.org> | 2003-03-04 16:51:13 +0000 |
|---|---|---|
| committer | Alexey Zelkin <phantom@FreeBSD.org> | 2003-03-04 16:51:13 +0000 |
| commit | 4e9a9c8dda5d7d572a286ca02a4225caa4f4df91 (patch) | |
| tree | 04c181ebb4ec1aea653b6fb35aed382a670ecef1 /lib/libc_r | |
| parent | c5d6a675f6b83ab3d9092583eb65f3ca4ab41e1c (diff) | |
Notes
Diffstat (limited to 'lib/libc_r')
| -rw-r--r-- | lib/libc_r/man/pthread_attr.3 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc_r/man/pthread_attr.3 b/lib/libc_r/man/pthread_attr.3 index 97974ea29d33..fa2c4ba4b2f3 100644 --- a/lib/libc_r/man/pthread_attr.3 +++ b/lib/libc_r/man/pthread_attr.3 @@ -32,6 +32,8 @@ .Sh NAME .Nm pthread_attr_init , .Nm pthread_attr_destroy , +.Nm pthread_attr_setstack , +.Nm pthread_attr_getstack , .Nm pthread_attr_setstacksize , .Nm pthread_attr_getstacksize , .Nm pthread_attr_setstackaddr , @@ -56,6 +58,10 @@ .Ft int .Fn pthread_attr_destroy "pthread_attr_t *attr" .Ft int +.Fn pthread_attr_setstack "pthread_attr_t *attr" " void *stackaddr" "size_t stacksize" +.Ft int +.Fn pthread_attr_getstack "const pthread_attr_t * restrict attr" "void ** restrict stackaddr" "size_t * restrict stacksize" +.Ft int .Fn pthread_attr_setstacksize "pthread_attr_t *attr" "size_t stacksize" .Ft int .Fn pthread_attr_getstacksize "const pthread_attr_t *attr" "size_t *stacksize" @@ -128,8 +134,11 @@ Invalid value for .Fa attr . .El .Pp +The .Fn pthread_attr_setstacksize -will fail if: +and +.Fn pthread_attr_setstack +functions will fail if: .Bl -tag -width Er .It Bq Er EINVAL .Fa stacksize @@ -186,6 +195,7 @@ Invalid or unsupported value for .Fa contentionscope . .El .Sh SEE ALSO +.Xr pthread_attr_get_np 3 , .Xr pthread_create 3 .Sh STANDARDS .Fn pthread_attr_init , |
