Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libpthread



Module Name:    src
Committed By:   riastradh
Date:           Tue Feb 25 10:15:42 UTC 2025

Modified Files:
        src/lib/libpthread: affinity.3

Log Message:
libpthread/affinity.3: Fix error reporting in example.

pthread_setaffinity_np does not set errno, so err(...) is wrong.
Instead, it returns the error number, which requires either
errc(..., error, ...)  or  errno = error; err(...).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libpthread/affinity.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index