summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_attr_get_np.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/pthread_attr_get_np.3')
-rw-r--r--share/man/man3/pthread_attr_get_np.310
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man3/pthread_attr_get_np.3 b/share/man/man3/pthread_attr_get_np.3
index 6a31d33..479fa42 100644
--- a/share/man/man3/pthread_attr_get_np.3
+++ b/share/man/man3/pthread_attr_get_np.3
@@ -68,6 +68,11 @@ The
.Fn pthread_attr_get_np
function will always return a pointer to the thread's real stack address,
regardless of its value in the original attributes structure.
+.Sh RETURN VALUES
+If successful,
+.Fn pthread_attr_get_np
+function returns 0.
+Otherwise, an error number is returned to indicate the error.
.Sh EXAMPLES
.Bd -literal
size_t
@@ -83,11 +88,6 @@ my_thread_stack_size(pthread_t pid)
return(size);
}
.Ed
-.Sh RETURN VALUES
-If successful,
-.Fn pthread_attr_get_np
-function returns 0.
-Otherwise, an error number is returned to indicate the error.
.Sh ERRORS
The
.Fn pthread_attr_get_np
OpenPOWER on IntegriCloud