mirror of https://github.com/mkerrisk/man-pages
pthreads.7: Explicitly note that pthreads APIs return an errno-style value on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0ca5f06155
commit
f9a5e57925
|
@ -107,6 +107,10 @@ CPU affinity
|
|||
.RB ( sched_setaffinity (2))
|
||||
.SS Pthreads function return values
|
||||
Most pthreads functions return 0 on success, and an error number on failure.
|
||||
The error numbers that can be returned have the same meaning as
|
||||
the error numbers returned in
|
||||
.I errno
|
||||
by conventional system calls and C library functions.
|
||||
Note that the pthreads functions do not set
|
||||
.IR errno .
|
||||
For each of the pthreads functions that can return an error,
|
||||
|
|
Loading…
Reference in New Issue