From: Peng Yu <pengyu.ut@gmail.com>
To: libc-help <libc-help@sourceware.org>
Subject: Directory structure of glibc and header files installed on Linux
Date: Wed, 3 Mar 2021 20:37:51 -0600 [thread overview]
Message-ID: <CABrM6wm_RshZ=kOC4bdh=WiKnzmFJBpuGg_n-Jto_gPzPCGhNA@mail.gmail.com> (raw)
Hi,
I'd like to know the complete list header files installed on Linux.
The directory structure is a little complicated. Could anybody help me
understand what they are? And what headers files are installed on
Linux?
Some files have the same name. What is their difference?
$ find -name stdlib.h
./include/stdlib.h
./include/bits/stdlib.h
./stdlib/stdlib.h
./stdlib/bits/stdlib.h
$ ls -gG --time-style=+""
total 12216
-rw-r--r-- 1 18092 COPYING
-rw-r--r-- 1 26530 COPYING.LIB
drwxr-xr-x 43 1376 ChangeLog.old
-rw-r--r-- 1 33584 INSTALL
-rw-r--r-- 1 18943 LICENSES
-rw-r--r-- 1 50 MAINTAINERS
-rw-r--r-- 1 49221 Makeconfig
-rw-r--r-- 1 22147 Makefile
-rw-r--r-- 1 1390 Makefile.help
-rw-r--r-- 1 566 Makefile.in
-rw-r--r-- 1 54260 Makerules
-rw-r--r-- 1 301071 NEWS
-rw-r--r-- 1 3151 README
-rw-r--r-- 1 12888 Rules
-rw-r--r-- 1 1230 abi-tags
-rw-r--r-- 1 9813 aclocal.m4
drwxr-xr-x 23 736 argp
drwxr-xr-x 13 416 assert
drwxr-xr-x 135 4320 benchtests
drwxr-xr-x 84 2688 bits
drwxr-xr-x 18 576 catgets
-rw-r--r-- 1 7850 config.h.in
-rw-r--r-- 1 4053 config.make.in
-rwxr-xr-x 1 240311 configure
-rw-r--r-- 1 56879 configure.ac
drwxr-xr-x 9 288 conform
drwxr-xr-x 35 1120 crypt
drwxr-xr-x 18 576 csu
drwxr-xr-x 13 416 ctype
drwxr-xr-x 120 3840 debug
drwxr-xr-x 38 1216 dirent
drwxr-xr-x 69 2208 dlfcn
drwxr-xr-x 628 20096 elf
-rw-r--r-- 1 3937 extra-lib.mk
-rw-r--r-- 1 940 gen-locales.mk
drwxr-xr-x 18 576 gmon
drwxr-xr-x 4 128 gnulib
drwxr-xr-x 27 864 grp
drwxr-xr-x 17 544 gshadow
drwxr-xr-x 10 320 hesiod
drwxr-xr-x 38 1216 htl
drwxr-xr-x 88 2816 hurd
drwxr-xr-x 46 1472 iconv
drwxr-xr-x 404 12928 iconvdata
drwxr-xr-x 157 5024 include
drwxr-xr-x 110 3520 inet
drwxr-xr-x 51 1632 intl
drwxr-xr-x 150 4800 io
-rw-r--r-- 1 2025 libc-abis
drwxr-xr-x 224 7168 libio
-rw-r--r-- 1 291 libof-iterator.mk
drwxr-xr-x 75 2400 locale
drwxr-xr-x 145 4640 localedata
drwxr-xr-x 51 1632 login
drwxr-xr-x 41 1312 mach
drwxr-xr-x 94 3008 malloc
drwxr-xr-x 70 2240 manual
drwxr-xr-x 507 16224 math
drwxr-xr-x 4 128 mathvec
drwxr-xr-x 182 5824 misc
drwxr-xr-x 49 1568 nis
drwxr-xr-x 362 11584 nptl
drwxr-xr-x 51 1632 nptl_db
drwxr-xr-x 48 1536 nscd
drwxr-xr-x 87 2784 nss
-rw-r--r-- 1 358 o-iterator.mk
drwxr-xr-x 43 1376 po
drwxr-xr-x 307 9824 posix
drwxr-xr-x 17 544 pwd
drwxr-xr-x 98 3136 resolv
drwxr-xr-x 20 640 resource
drwxr-xr-x 72 2304 rt
drwxr-xr-x 55 1760 scripts
drwxr-xr-x 19 608 setjmp
drwxr-xr-x 17 544 shadow
-rw-r--r-- 1 2409 shlib-versions
drwxr-xr-x 57 1824 signal
drwxr-xr-x 31 992 socket
drwxr-xr-x 92 2944 soft-fp
drwxr-xr-x 206 6592 stdio-common
drwxr-xr-x 245 7840 stdlib
drwxr-xr-x 159 5088 string
drwxr-xr-x 71 2272 sunrpc
drwxr-xr-x 214 6848 support
drwxr-xr-x 33 1056 sysdeps
drwxr-xr-x 22 704 sysvipc
drwxr-xr-x 18 576 termios
-rw-r--r-- 1 3067 test-skeleton.c
drwxr-xr-x 80 2560 time
drwxr-xr-x 34 1088 timezone
-rw-r--r-- 1 125 version.h
drwxr-xr-x 124 3968 wcsmbs
drwxr-xr-x 20 640 wctype
--
Regards,
Peng
next reply other threads:[~2021-03-04 2:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 2:37 Peng Yu [this message]
2021-03-04 10:57 ` Florian Weimer
2021-03-04 14:19 ` Peng Yu
2021-03-04 14:41 ` Adhemerval Zanella
2021-03-04 16:56 ` Peng Yu
2021-03-04 19:58 ` Adhemerval Zanella
2021-03-04 22:37 ` Peng Yu
2021-03-04 23:01 ` Konstantin Kharlamov
2021-03-05 2:38 ` Peng Yu
2021-03-05 11:19 ` Adhemerval Zanella
2021-03-05 0:07 ` Adhemerval Zanella
2021-03-05 2:30 ` Peng Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABrM6wm_RshZ=kOC4bdh=WiKnzmFJBpuGg_n-Jto_gPzPCGhNA@mail.gmail.com' \
--to=pengyu.ut@gmail.com \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).