diff options
author | alfred <alfred@FreeBSD.org> | 2003-02-10 08:48:04 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-02-10 08:48:04 +0000 |
commit | 6a79467bbde44ba077bc5179639dd9dc5565c929 (patch) | |
tree | 9cfde8705da32bc1df807d3472d6599f73e66326 /share/man/man3/pthread_attr.3 | |
parent | e5970c99a38ac699e97b1ca31f86489f31066f81 (diff) | |
download | FreeBSD-src-6a79467bbde44ba077bc5179639dd9dc5565c929.zip FreeBSD-src-6a79467bbde44ba077bc5179639dd9dc5565c929.tar.gz |
Add pthread_attr_getstack() and pthread_attr_setstack().
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'share/man/man3/pthread_attr.3')
-rw-r--r-- | share/man/man3/pthread_attr.3 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/man/man3/pthread_attr.3 b/share/man/man3/pthread_attr.3 index 6e72bcc..3e545d4 100644 --- a/share/man/man3/pthread_attr.3 +++ b/share/man/man3/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,6 +144,8 @@ Invalid value for .Pp The .Fn pthread_attr_setstacksize +or +.Fn pthread_attr_setstack function will fail if: .Bl -tag -width Er .It Bq Er EINVAL |