diff options
author | ru <ru@FreeBSD.org> | 2003-12-30 17:08:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-12-30 17:08:23 +0000 |
commit | 00755078ab9b1ac1b82b8234ada81870e10002d1 (patch) | |
tree | 42463de5a4f2b1c240fb6d8d85d003bca47d5e49 | |
parent | 8dbbb519f52fc23e68d017edc1cda52ba51a0163 (diff) | |
download | FreeBSD-src-00755078ab9b1ac1b82b8234ada81870e10002d1.zip FreeBSD-src-00755078ab9b1ac1b82b8234ada81870e10002d1.tar.gz |
Merge from libc_r: document pthread_attr_[gs]etstack().
-rw-r--r-- | lib/libpthread/man/Makefile.inc | 2 | ||||
-rw-r--r-- | lib/libpthread/man/pthread_attr.3 | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lib/libpthread/man/Makefile.inc b/lib/libpthread/man/Makefile.inc index 2d4eea0..ec024e2 100644 --- a/lib/libpthread/man/Makefile.inc +++ b/lib/libpthread/man/Makefile.inc @@ -62,6 +62,7 @@ MLINKS+= \ pthread_attr.3 pthread_attr_getschedparam.3 \ pthread_attr.3 pthread_attr_getschedpolicy.3 \ pthread_attr.3 pthread_attr_getscope.3 \ + pthread_attr.3 pthread_attr_getstack.3 \ pthread_attr.3 pthread_attr_getstackaddr.3 \ pthread_attr.3 pthread_attr_getstacksize.3 \ pthread_attr.3 pthread_attr_init.3 \ @@ -71,6 +72,7 @@ MLINKS+= \ pthread_attr.3 pthread_attr_setschedparam.3 \ pthread_attr.3 pthread_attr_setschedpolicy.3 \ pthread_attr.3 pthread_attr_setscope.3 \ + pthread_attr.3 pthread_attr_setstack.3 \ pthread_attr.3 pthread_attr_setstackaddr.3 \ pthread_attr.3 pthread_attr_setstacksize.3 \ pthread_condattr.3 pthread_condattr_init.3 \ diff --git a/lib/libpthread/man/pthread_attr.3 b/lib/libpthread/man/pthread_attr.3 index 982d03c..562303d 100644 --- a/lib/libpthread/man/pthread_attr.3 +++ b/lib/libpthread/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_setguardsize , @@ -58,6 +60,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" @@ -138,7 +144,9 @@ Invalid value for .Pp The .Fn pthread_attr_setstacksize -function will fail if: +and +.Fn pthread_attr_setstack +functions will fail if: .Bl -tag -width Er .It Bq Er EINVAL .Fa stacksize |