libc source location - for download or online viewing?

后端 未结 4 1716
迷失自我
迷失自我 2020-12-24 03:42

Sorry I know this is stupid but where is linux libc source code available? What I downloaded from GNU didn\'t seem to be what I wanted, specifically I could find nothing in

4条回答
  •  隐瞒了意图╮
    2020-12-24 04:19

    If you're on a Debian-derived system, you can use apt-get source libc6. This will unpack a eglibc-2.12.1 directory (version number might differ, of course) in your current working directory, and the pthreads support are in the nptl/ directory below that. linuxthreads/ is for the older threading style, in case you're an archaeologist.

提交回复
热议问题