public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Directory structure of glibc and header files installed on Linux
@ 2021-03-04  2:37 Peng Yu
  2021-03-04 10:57 ` Florian Weimer
  0 siblings, 1 reply; 12+ messages in thread
From: Peng Yu @ 2021-03-04  2:37 UTC (permalink / raw)
  To: libc-help

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-03-05 11:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04  2:37 Directory structure of glibc and header files installed on Linux Peng Yu
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

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).