aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/pthread_setname_np.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
index 1cfe8ada84..5b8080d911 100644
--- a/man3/pthread_setname_np.3
+++ b/man3/pthread_setname_np.3
@@ -56,7 +56,7 @@ The
function can be used to retrieve the name of the thread.
The
.I thread
-argument specifies the thread whose name is to be retriecved.
+argument specifies the thread whose name is to be retrieved.
The buffer
.I name
is used to return the thread name;
@@ -106,7 +106,7 @@ internally writes to the thread specific comm file under
filesystem:
.IR /proc/self/task/[tid]/comm .
.BR pthread_getname_np ()
-retreives it from the same location.
+retrieves it from the same location.
.SH EXAMPLE
.PP
The program below demonstrates the use of