I just discovered that gnu.org updated their libc online manual and they removed POSIX threads (at least the description of pthread_create()).
Does somebody know a link to the older libc html manuals? I need version 2.26 but I can't find a link to older versions.
edit: don't bother, I found it.
Thanks.
edit: don't bother, I found it.
Maybe someone else might benefit from knowing where you got it. Saves them asking the same thing, see.
edit: don't bother, I found it.
Maybe someone else might benefit from knowing where you got it. Saves them asking the same thing, see.
I installed the manual v2.26 using the package manager on my system.
Not that it helped me much because also that version did not have the description for pthreads.
Then I remembered that, when I wrote the software using pthreads, I used a book called
"The Linux programming interface" by Michael Kerrisk, as a reference...
So, I haven't found any "official"
online manual for POSIX threads. If somebody now where to find it, I would like to hear it.
Karel:
The GNU C Library is merely implementing an existing specification:
IEEE Std 1003.1-2017 (pthread.h). The library doesn’t need to copy that, as it’s both a burden and a copyright issue. And I do not recall it ever did, so I am not sure, what you mean by installing an older package.
Documentation regarding glibc’s API is maintained by the Linux manual pages project.
Sections 3p and 3 are of interest to you, along with the section 7 introduction mentioned by
ejeffrey.
Karel:
The GNU C Library is merely implementing an existing specification: IEEE Std 1003.1-2017 (pthread.h). The library doesn’t need to copy that, as it’s both a burden and a copyright issue. And I do not recall it ever did, so I am not sure, what you mean by installing an older package.
Documentation regarding glibc’s API is maintained by the Linux manual pages project. Sections 3p and 3 are of interest to you, along with the section 7 introduction mentioned by ejeffrey.
For glibc I usually use this one:
https://www.gnu.org/software/libc/manual/html_node/index.htmlI thought there was also a similar manual for pthreads. Apparently not.
Man pages I use when I know the function but I want to check the exact arguments and/or return value.
For more generic things as "how to do x", I find the glibc manual (in html form) very helpfull.
I find it a pitty that there isn't something similar for pthreads.