glibc-desc.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <sect2><title>Contents of Glibc</title>
  2. <para>Last checked against version &glibc-contversion;.</para>
  3. <sect3><title>Program Files</title>
  4. <para>catchsegv, gencat, getconf, getent, glibcbug, iconv, iconvconfig,
  5. ldconfig, ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
  6. pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
  7. zdump and zic</para></sect3>
  8. <sect3><title>Descriptions</title>
  9. <sect4><title>catchsegv</title>
  10. <para>catchsegv can be used to create a stack trace when a program
  11. terminates with a segmentation fault.</para></sect4>
  12. <sect4><title>gencat</title>
  13. <para>gencat generates message catalogues.</para></sect4>
  14. <sect4><title>getconf</title>
  15. <para>getconf displays the system configuration values for filesystem
  16. specific variables.</para></sect4>
  17. <sect4><title>getent</title>
  18. <para>getent gets entries from an administrative database.</para></sect4>
  19. <sect4><title>glibcbug</title>
  20. <para>glibcbug creates a bug report about glibc and and mails it to the
  21. bug email address.</para></sect4>
  22. <sect4><title>iconv</title>
  23. <para>iconv performs character set conversion.</para></sect4>
  24. <sect4><title>iconvconfig</title>
  25. <para>iconvconfig creates fastloading iconv module
  26. configuration file.</para></sect4>
  27. <sect4><title>ldconfig</title>
  28. <para>ldconfig configures the dynamic linker run time bindings.</para></sect4>
  29. <sect4><title>ldd</title>
  30. <para>ldd prints the shared libraries required by each program or shared
  31. library specified on the command line.</para></sect4>
  32. <sect4><title>lddlibc4</title>
  33. <para>lddlibc4 assists ldd with object files.</para></sect4>
  34. <sect4><title>locale</title>
  35. <para>locale is a Perl program which tells the compiler to enable
  36. (or disable) the use of POSIX locales for built-in operations.</para></sect4>
  37. <sect4><title>localedef</title>
  38. <para>localedef compiles locale specifications.</para></sect4>
  39. <sect4><title>mtrace</title>
  40. <para>mtrace prints the multicast path from a source to a receiver (an IP
  41. trace query).</para></sect4>
  42. <sect4><title>nscd</title>
  43. <para>nscd is a daemon that provides a cache for the most common name
  44. service requests.</para></sect4>
  45. <sect4><title>nscd_nischeck</title>
  46. <para>nscd_nischeck checks whether or not secure mode is necessary for
  47. NIS+ lookup.</para></sect4>
  48. <sect4><title>pcprofiledump</title>
  49. <para>pcprofiledump dumps information generated by
  50. PC profiling.</para></sect4>
  51. <sect4><title>pt_chown</title>
  52. <para>pt_chown sets the owner, group and access permission of the
  53. slave pseudo terminal corresponding to the master pseudo terminal passed
  54. on file descriptor `3'. This is the helper program for the `grantpt'
  55. function. It is not intended to be run directly from the command
  56. line.</para></sect4>
  57. <sect4><title>rpcgen</title>
  58. <para>rpcgen generates C code to implement the RPC protocol.</para></sect4>
  59. <sect4><title>rpcinfo</title>
  60. <para>rpcinfo makes an RPC call to an RPC server.</para></sect4>
  61. <sect4><title>sln</title>
  62. <para>sln symbolically links dest to source. It is statically linked,
  63. needing no dynamic linking at all. Thus sln is useful to make symbolic
  64. links to dynamic libraries if the dynamic linking system for some reason
  65. is nonfunctional.</para></sect4>
  66. <sect4><title>sprof</title>
  67. <para>sprof reads and displays shared object profiling data.</para></sect4>
  68. <sect4><title>tzselect</title>
  69. <para>tzselect asks the user for information about the current location and
  70. outputs the resulting time zone description to standard output.</para></sect4>
  71. <sect4><title>xtrace</title>
  72. <para>xtrace traces execution of program by printing the currently executed
  73. function.</para></sect4>
  74. <sect4><title>zdump</title>
  75. <para>zdump is the time zone dumper.</para></sect4>
  76. <sect4><title>zic</title>
  77. <para>zic is the time zone compiler.</para></sect4>
  78. </sect3>
  79. <sect3><title>Library Files</title>
  80. <para>ld.so, libBrokenLocale.[a,so], libBrokenLocale_p.a,
  81. libSegFault.so, libanl.[a,so], libanl_p.a, libbsd-compat.a, libc.[a,so],
  82. libc_nonshared.a, libc_p.a, libcrypt.[a,so], libcrypt_p.a, libdl.[a,so],
  83. libdl_p.a, libg.a, libieee.a, libm.[a,so], libm_p.a, libmcheck.a,
  84. libmemusage.so, libnsl.a, libnsl_p.a, libnss_compat.so, libnss_dns.so,
  85. libnss_files.so, libnss_hesiod.so, libnss_nis.so, libnss_nisplus.so,
  86. libpcprofile.so, libpthread.[a,so], libpthread_p.a, libresolv.[a,so],
  87. libresolv_p.a, librpcsvc.a, librpcsvc_p.a, librt.[a,so], librt_p.a,
  88. libthread_db.so, libutil.[a,so] and libutil_p.a</para></sect3>
  89. <sect3><title>Descriptions</title>
  90. <sect4><title>ld.so</title>
  91. <para>ld.so is the helper program for shared library
  92. executables.</para></sect4>
  93. <sect4><title>libBrokenLocale, libBrokenLocale_p</title>
  94. <para>Used by software, such as Mozilla, to solve broken locales.</para></sect4>
  95. <sect4><title>libSegFault</title>
  96. <para>libSegFault is a segmentation fault signal handler. It tries to catch
  97. segfaults.</para></sect4>
  98. <sect4><title>libanl, libanl_p</title>
  99. <para>libanl is an asynchronous name lookup library.</para></sect4>
  100. <sect4><title>libbsd-compat</title>
  101. <para>libbsd-compat provides the portability needed in order to run certain
  102. programs in Linux.</para></sect4>
  103. <sect4><title>libc, libc_nonshared, libc_p</title>
  104. <para>These files constitute the main C library. The C library is a
  105. collection of commonly used functions in programs.
  106. This way a programmer doesn't need to create his own functions for every
  107. single task. The most common things like writing a string to the screen
  108. are already present and at the disposal of the programmer.</para>
  109. <para>The C library (actually almost every library) comes in two flavors:
  110. a dynamic and a static one. In short, when a program uses a static C
  111. library, the code from the C library is copied into the executable file.
  112. When a program uses a dynamic library, the executable will not
  113. contain the code from the C library, but instead a routine that loads
  114. the functions from the library at the time the program is run. This
  115. means a significant decrease in the file size of a program. The
  116. documentation that comes with the C library describes this in more
  117. detail, as it is too complicated to explain here in one or two
  118. lines.</para></sect4>
  119. <sect4><title>libcrypt, libcrypt_p</title>
  120. <para>libcrypt is the cryptography library.</para></sect4>
  121. <sect4><title>libdl, libdl_p</title>
  122. <para>libdl is the dynamic linking interface library.</para></sect4>
  123. <sect4><title>libg</title>
  124. <para>libg is a runtime library for g++.</para></sect4>
  125. <sect4><title>libieee</title>
  126. <para>libieee is the IEEE floating point library.</para></sect4>
  127. <sect4><title>libm, libm_p</title>
  128. <para>libm is the mathematical library.</para></sect4>
  129. <sect4><title>libmcheck</title>
  130. <para>libmcheck contains code run at boot.</para></sect4>
  131. <sect4><title>libmemusage</title>
  132. <para>libmemusage is used by memusage to help collect information about the
  133. memory usage of a program.</para></sect4>
  134. <sect4><title>libnsl, libnsl_p</title>
  135. <para>libnsl is the network services library.</para></sect4>
  136. <sect4><title>libnss_compat, libnss_dns, libnss_files,
  137. libnss_hesiod, libnss_nis, libnss_nisplus</title>
  138. <para>The basic idea is to put the implementation of the different services
  139. offered to access the databases in separate modules. This has some
  140. advantages:</para>
  141. <itemizedlist>
  142. <listitem><para>contributors can add new services without adding them to
  143. GNU C library,</para></listitem>
  144. <listitem><para>the modules can be updated separately,</para></listitem>
  145. <listitem><para>the C library image is smaller.</para></listitem>
  146. </itemizedlist></sect4>
  147. <sect4><title>libpcprofile</title>
  148. <para>Code used by the kernel to track CPU time spent in functions, source
  149. code lines, and instructions.</para></sect4>
  150. <sect4><title>libpthread, libpthread_p</title>
  151. <para>The POSIX threads library.</para></sect4>
  152. <sect4><title>libresolv, libresolv_p</title>
  153. <para>Functions in this library provide for creating, sending, and
  154. interpreting packets to the Internet domain name servers.</para></sect4>
  155. <sect4><title>librpcsvc, librpcsvc_p</title>
  156. <para>Functions in this library provide miscellaneous RPC services.</para></sect4>
  157. <sect4><title>librt, librt_p</title>
  158. <para>Functions in this library provide most of the interfaces specified by
  159. the POSIX.1b Realtime Extension.</para></sect4>
  160. <sect4><title>libthread_db</title>
  161. <para>Functions is this library are useful for building debuggers for
  162. multi-threaded programs.</para></sect4>
  163. <sect4><title>libutil, libutil_p</title>
  164. <para>Contains code for "standard" functions used in many different Unix
  165. utilities.</para></sect4>
  166. </sect3>
  167. </sect2>