From 25befe07d3c1488cbbdecdb765cd0558e12cc364 Mon Sep 17 00:00:00 2001 From: Peter Tribble Date: Fri, 13 Nov 2020 16:36:17 +0000 Subject: 13302 pthread_attr_get_np.3c erroneously refers to pthread_getattr_np Reviewed by: Toomas Soome Reviewed by: Gergő Mihály Doma Approved by: Richard Lowe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/man/man3c/pthread_attr_get_np.3c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'usr/src/man/man3c') 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 -- cgit v1.2.3