diff options
author | Peter Tribble <peter.tribble@gmail.com> | 2020-11-13 16:36:17 +0000 |
---|---|---|
committer | Peter Tribble <peter.tribble@gmail.com> | 2020-11-14 18:07:33 +0000 |
commit | 25befe07d3c1488cbbdecdb765cd0558e12cc364 (patch) | |
tree | 029c4396ea8f7de6414abde1aadb25bac55d4c35 /usr/src/man/man3c | |
parent | 509a605d87b8005c687f8d8264f1be379620e886 (diff) | |
download | illumos-joyent-25befe07d3c1488cbbdecdb765cd0558e12cc364.tar.gz |
13302 pthread_attr_get_np.3c erroneously refers to pthread_getattr_np
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r-- | usr/src/man/man3c/pthread_attr_get_np.3c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/man/man3c/pthread_attr_get_np.3c b/usr/src/man/man3c/pthread_attr_get_np.3c index 9da50ab171..2b166d0ef4 100644 --- a/usr/src/man/man3c/pthread_attr_get_np.3c +++ b/usr/src/man/man3c/pthread_attr_get_np.3c @@ -11,7 +11,7 @@ .\" .\" Copyright 2016 Joyent, Inc. .\" -.Dd November 8, 2020 +.Dd November 10, 2020 .Dt PTHREAD_ATTR_GET_NP 3C .Os .Sh NAME @@ -100,13 +100,11 @@ For more information on the guard size of a thread and its purpose, see .Sh RETURN VALUES Upon successful completion, the .Fn pthread_attr_get_np -and -.Fn pthread_getattr_np -functions return +function returns .Sy 0 . Otherwise, an error number is returned to indicate the error. .Sh EXAMPLES -The following program demonstrates how to use these functions to get +The following program demonstrates how to use this function to get the location and stack size of a newly created thread. .Bd -literal #include <assert.h> |