Config.in 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  1. config EGLIBC_OPTION_EGLIBC_ADVANCED_INET6
  2. bool "IPv6 Advanced Sockets API support (RFC3542)"
  3. default y
  4. depends EGLIBC_OPTION_EGLIBC_INET
  5. help
  6. This option group includes the functions specified by RFC 3542,
  7. "Advanced Sockets Application Program Interface (API) for
  8. IPv6".
  9. This option group includes the following functions:
  10. inet6_opt_append
  11. inet6_opt_find
  12. inet6_opt_finish
  13. inet6_opt_get_val
  14. inet6_opt_init
  15. inet6_alloc
  16. inet6_append
  17. inet6_find
  18. inet6_init
  19. inet6_next
  20. inet6_space
  21. inet6_opt_next
  22. inet6_opt_set_val
  23. inet6_rth_add
  24. inet6_rth_getaddr
  25. inet6_rth_init
  26. inet6_rth_reverse
  27. inet6_rth_segments
  28. inet6_rth_space
  29. config EGLIBC_OPTION_EGLIBC_BACKTRACE
  30. bool "Functions for producing backtraces"
  31. default y
  32. help
  33. This option group includes functions for producing a list of
  34. the function calls that are currently active in a thread, from
  35. within the thread itself. These functions are often used
  36. within signal handlers, to produce diagnostic output.
  37. This option group includes the following functions:
  38. backtrace
  39. backtrace_symbols
  40. backtrace_symbols_fd
  41. config EGLIBC_OPTION_EGLIBC_BSD
  42. bool "BSD-specific functions, and their compatibility stubs"
  43. default y
  44. help
  45. This option group includes functions specific to BSD kernels.
  46. A number of these functions have stub versions that are also
  47. included in libraries built for non-BSD systems for
  48. compatibility.
  49. This option group includes the following functions:
  50. chflags
  51. fchflags
  52. lchmod
  53. revoke
  54. setlogin
  55. config EGLIBC_OPTION_EGLIBC_CXX_TESTS
  56. bool "Tests that link against the standard C++ library."
  57. default y
  58. depends EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
  59. depends EGLIBC_OPTION_EGLIBC_LIBM
  60. help
  61. This option group does not include any C library functions;
  62. instead, it controls which EGLIBC tests an ordinary 'make
  63. tests' runs. With this group disabled, tests that would
  64. normally link against the standard C++ library are not
  65. run.
  66. The standard C++ library depends on the math library 'libm' and
  67. the wide character I/O functions included in EGLIBC. If those
  68. option groups are disabled, this test must also be disabled.
  69. config EGLIBC_OPTION_EGLIBC_CATGETS
  70. bool "Functions for accessing message catalogs"
  71. default y
  72. depends EGLIBC_OPTION_EGLIBC_LOCALE_CODE
  73. help
  74. This option group includes functions for accessing message
  75. catalogs: catopen, catclose, and catgets.
  76. This option group depends on the EGLIBC_LOCALE_CODE
  77. option group; if you disable that, you must also disable this.
  78. config EGLIBC_OPTION_EGLIBC_CHARSETS
  79. bool "iconv/gconv character set conversion libraries"
  80. default y
  81. help
  82. This option group includes support for character sets other
  83. than ASCII (ANSI_X3.4-1968) and Unicode and ISO-10646 in their
  84. various encodings. This affects both the character sets
  85. supported by the wide and multibyte character functions, and
  86. those supported by the 'iconv' functions.
  87. With this option group disabled, EGLIBC supports only the
  88. following character sets:
  89. ANSI_X3.4 - ASCII
  90. ANSI_X3.4-1968
  91. ANSI_X3.4-1986
  92. ASCII
  93. CP367
  94. CSASCII
  95. IBM367
  96. ISO-IR-6
  97. ISO646-US
  98. ISO_646.IRV:1991
  99. OSF00010020
  100. US
  101. US-ASCII
  102. 10646-1:1993 - ISO 10646, in big-endian UCS4 form
  103. 10646-1:1993/UCS4
  104. CSUCS4
  105. ISO-10646
  106. ISO-10646/UCS4
  107. OSF00010104
  108. OSF00010105
  109. OSF00010106
  110. UCS-4
  111. UCS-4BE
  112. UCS4
  113. UCS-4LE - ISO 10646, in little-endian UCS4 form
  114. ISO-10646/UTF-8 - ISO 10646, in UTF-8 form
  115. ISO-10646/UTF8
  116. ISO-IR-193
  117. OSF05010001
  118. UTF-8
  119. UTF8
  120. ISO-10646/UCS2 - ISO 10646, in target-endian UCS2 form
  121. OSF00010100
  122. OSF00010101
  123. OSF00010102
  124. UCS-2
  125. UCS2
  126. UCS-2BE - ISO 10646, in big-endian UCS2 form
  127. UNICODEBIG
  128. UCS-2LE - ISO 10646, in little-endian UCS2 form
  129. UNICODELITTLE
  130. WCHAR_T - EGLIBC's internal form (target-endian,
  131. 32-bit ISO 10646)
  132. config EGLIBC_OPTION_EGLIBC_DB_ALIASES
  133. bool "Functions for accessing the mail aliases database"
  134. default y
  135. help
  136. This option group includues functions for looking up mail
  137. aliases in '/etc/aliases' or using nsswitch. It includes the
  138. following functions:
  139. endaliasent
  140. getaliasbyname
  141. getaliasbyname_r
  142. getaliasent
  143. getaliasent_r
  144. setaliasent
  145. When this option group is disabled, the NSS service libraries
  146. also lack support for querying their mail alias tables.
  147. config EGLIBC_OPTION_EGLIBC_ENVZ
  148. bool "Functions for handling envz-style environment vectors."
  149. default y
  150. help
  151. This option group contains functions for creating and operating
  152. on envz vectors. An "envz vector" is a vector of strings in a
  153. contiguous block of memory, where each element is a name-value
  154. pair, and elements are separated from their neighbors by null
  155. characters.
  156. This option group includes the following functions:
  157. envz_add envz_merge
  158. envz_entry envz_remove
  159. envz_get envz_strip
  160. config EGLIBC_OPTION_EGLIBC_FSTAB
  161. bool "Access functions for 'fstab'"
  162. default y
  163. help
  164. This option group includes functions for reading the mount
  165. point specification table, '/etc/fstab'. These functions are
  166. not included in the POSIX standard, which provides the
  167. 'getmntent' family of functions instead.
  168. This option group includues the following functions:
  169. endfsent getfsspec
  170. getfsent setfsent
  171. getfsfile
  172. config EGLIBC_OPTION_EGLIBC_GETLOGIN
  173. bool "The getlogin function"
  174. default y
  175. depends EGLIBC_OPTION_EGLIBC_UTMP
  176. help
  177. This function group includes the 'getlogin' and 'getlogin_r'
  178. functions, which return the user name associated by the login
  179. activity with the current process's controlling terminal.
  180. With this option group disabled, the 'glob' function will not
  181. fall back on 'getlogin' to find the user's login name for tilde
  182. expansion when the 'HOME' environment variable is not set.
  183. config EGLIBC_OPTION_EGLIBC_INET
  184. bool "Networking support"
  185. default y
  186. help
  187. This option group includes networking-specific functions and
  188. data. With EGLIBC_INET disabled, the EGLIBC
  189. installation and API changes as follows:
  190. - The following libraries are not installed:
  191. libanl
  192. libnsl
  193. libnss_compat
  194. libnss_dns
  195. libnss_hesiod
  196. libnss_nis
  197. libnss_nisplus
  198. libresolv
  199. - The following functions and variables are omitted from libc:
  200. authdes_create hstrerror svc_fdset
  201. authdes_getucred htonl svc_getreq
  202. authdes_pk_create htons svc_getreq_common
  203. authnone_create if_freenameindex svc_getreq_poll
  204. authunix_create if_indextoname svc_getreqset
  205. authunix_create_default if_nameindex svc_max_pollfd
  206. bindresvport if_nametoindex svc_pollfd
  207. callrpc in6addr_any svcraw_create
  208. cbc_crypt in6addr_loopback svc_register
  209. clnt_broadcast inet6_opt_append svc_run
  210. clnt_create inet6_opt_find svc_sendreply
  211. clnt_pcreateerror inet6_opt_finish svctcp_create
  212. clnt_perrno inet6_opt_get_val svcudp_bufcreate
  213. clnt_perror inet6_opt_init svcudp_create
  214. clntraw_create inet6_alloc svcudp_enablecache
  215. clnt_spcreateerror inet6_append svcunix_create
  216. clnt_sperrno inet6_find svcunixfd_create
  217. clnt_sperror inet6_init svc_unregister
  218. clnttcp_create inet6_next user2netname
  219. clntudp_bufcreate inet6_space xdecrypt
  220. clntudp_create inet6_opt_next xdr_accepted_reply
  221. clntunix_create inet6_opt_set_val xdr_array
  222. des_setparity inet6_rth_add xdr_authdes_cred
  223. ecb_crypt inet6_rth_getaddr xdr_authdes_verf
  224. endaliasent inet6_rth_init xdr_authunix_parms
  225. endhostent inet6_rth_reverse xdr_bool
  226. endnetent inet6_rth_segments xdr_bytes
  227. endnetgrent inet6_rth_space xdr_callhdr
  228. endprotoent inet_addr xdr_callmsg
  229. endrpcent inet_aton xdr_char
  230. endservent inet_lnaof xdr_cryptkeyarg
  231. ether_aton inet_makeaddr xdr_cryptkeyarg2
  232. ether_aton_r inet_netof xdr_cryptkeyres
  233. ether_hostton inet_network xdr_des_block
  234. ether_line inet_nsap_addr xdr_double
  235. ether_ntoa inet_nsap_ntoa xdr_enum
  236. ether_ntoa_r inet_ntoa xdr_float
  237. ether_ntohost inet_ntop xdr_free
  238. freeaddrinfo inet_pton xdr_getcredres
  239. freeifaddrs innetgr xdr_hyper
  240. gai_strerror iruserok xdr_int
  241. getaddrinfo iruserok_af xdr_int16_t
  242. getaliasbyname key_decryptsession xdr_int32_t
  243. getaliasbyname_r key_decryptsession_pk xdr_int64_t
  244. getaliasent key_encryptsession xdr_int8_t
  245. getaliasent_r key_encryptsession_pk xdr_keybuf
  246. gethostbyaddr key_gendes xdr_key_netstarg
  247. gethostbyaddr_r key_get_conv xdr_key_netstres
  248. gethostbyname key_secretkey_is_set xdr_keystatus
  249. gethostbyname2 key_setnet xdr_long
  250. gethostbyname2_r key_setsecret xdr_longlong_t
  251. gethostbyname_r netname2host xdrmem_create
  252. gethostent netname2user xdr_netnamestr
  253. gethostent_r ntohl xdr_netobj
  254. getifaddrs ntohs xdr_opaque
  255. getipv4sourcefilter passwd2des xdr_opaque_auth
  256. get_myaddress pmap_getmaps xdr_pmap
  257. getnameinfo pmap_getport xdr_pmaplist
  258. getnetbyaddr pmap_rmtcall xdr_pointer
  259. getnetbyaddr_r pmap_set xdr_quad_t
  260. getnetbyname pmap_unset xdrrec_create
  261. getnetbyname_r rcmd xdrrec_endofrecord
  262. getnetent rcmd_af xdrrec_eof
  263. getnetent_r registerrpc xdrrec_skiprecord
  264. getnetgrent res_init xdr_reference
  265. getnetgrent_r rexec xdr_rejected_reply
  266. getnetname rexec_af xdr_replymsg
  267. getprotobyname rexecoptions xdr_rmtcall_args
  268. getprotobyname_r rpc_createerr xdr_rmtcallres
  269. getprotobynumber rresvport xdr_short
  270. getprotobynumber_r rresvport_af xdr_sizeof
  271. getprotoent rtime xdrstdio_create
  272. getprotoent_r ruserok xdr_string
  273. getpublickey ruserok_af xdr_u_char
  274. getrpcbyname ruserpass xdr_u_hyper
  275. getrpcbyname_r setaliasent xdr_u_int
  276. getrpcbynumber sethostent xdr_uint16_t
  277. getrpcbynumber_r setipv4sourcefilter xdr_uint32_t
  278. getrpcent setnetent xdr_uint64_t
  279. getrpcent_r setnetgrent xdr_uint8_t
  280. getrpcport setprotoent xdr_u_long
  281. getsecretkey setrpcent xdr_u_longlong_t
  282. getservbyname setservent xdr_union
  283. getservbyname_r setsourcefilter xdr_unixcred
  284. getservbyport svcauthdes_stats xdr_u_quad_t
  285. getservbyport_r svcerr_auth xdr_u_short
  286. getservent svcerr_decode xdr_vector
  287. getservent_r svcerr_noproc xdr_void
  288. getsourcefilter svcerr_noprog xdr_wrapstring
  289. h_errlist svcerr_progvers xencrypt
  290. h_errno svcerr_systemerr xprt_register
  291. herror svcerr_weakauth xprt_unregister
  292. h_nerr svc_exit
  293. host2netname svcfd_create
  294. - The rpcgen, nscd, and rpcinfo commands are not installed.
  295. - The 'rpc' file (a text file listing RPC services) is not installed.
  296. Socket-related system calls do not fall in this option group,
  297. because many are also used for other inter-process
  298. communication mechanisms. For example, the 'syslog' routines
  299. use Unix-domain sockets to communicate with the syslog daemon;
  300. syslog is valuable in non-networked contexts.
  301. config EGLIBC_OPTION_EGLIBC_LIBM
  302. bool "libm (math library)"
  303. default y
  304. help
  305. This option group includes the 'libm' library, containing
  306. mathematical functions. If this option group is omitted, then
  307. an EGLIBC installation does not include shared or unshared versions
  308. of the math library.
  309. Note that this does not remove all floating-point related
  310. functionality from EGLIBC; for example, 'printf' and 'scanf'
  311. can still print and read floating-point values with this option
  312. group disabled.
  313. Note that the ISO Standard C++ library 'libstdc++' depends on
  314. EGLIBC's math library 'libm'. If you disable this option
  315. group, you will not be able to build 'libstdc++' against the
  316. resulting EGLIBC installation.
  317. config EGLIBC_OPTION_EGLIBC_LOCALES
  318. bool "Locale definitions"
  319. default y
  320. help
  321. This option group includes all locale definitions other than
  322. that for the "C" locale. If this option group is omitted, then
  323. only the "C" locale is supported.
  324. config EGLIBC_OPTION_EGLIBC_LOCALE_CODE
  325. bool "Locale functions"
  326. default y
  327. depends EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
  328. help
  329. This option group includes locale support functions, programs,
  330. and libraries. With EGLIBC_LOCALE_FUNCTIONS disabled,
  331. EGLIBC supports only the 'C' locale (also known as 'POSIX'),
  332. and ignores the settings of the 'LANG' and 'LC_*' environment
  333. variables.
  334. With EGLIBC_LOCALE_CODE disabled, the following
  335. functions are omitted from libc:
  336. duplocale localeconv nl_langinfo rpmatch strfmon_l
  337. freelocale newlocale nl_langinfo_l strfmon uselocale
  338. Furthermore, only the LC_CTYPE and LC_TIME categories of the
  339. standard "C" locale are available.
  340. The EGLIBC_CATGETS option group depends on this option
  341. group; if you disable EGLIBC_LOCALE_CODE, you must also
  342. disable EGLIBC_CATGETS.
  343. config EGLIBC_OPTION_EGLIBC_NIS
  344. bool "Support for NIS, NIS+, and the special 'compat' services."
  345. default y
  346. depends EGLIBC_OPTION_EGLIBC_INET
  347. depends EGLIBC_OPTION_EGLIBC_SUNRPC
  348. help
  349. This option group includes the NIS, NIS+, and 'compat' Name
  350. Service Switch service libraries. When it is disabled, those
  351. services libraries are not installed; you should remove any
  352. references to them from your 'nsswitch.conf' file.
  353. This option group depends on the EGLIBC_INET option
  354. group; you must enable that to enable this option group.
  355. config EGLIBC_OPTION_EGLIBC_NSSWITCH
  356. bool "Name service switch (nsswitch) support"
  357. default y
  358. help
  359. This option group includes support for the 'nsswitch' facility.
  360. With this option group enabled, all EGLIBC functions for
  361. accessing various system databases (passwords and groups;
  362. networking; aliases; public keys; and so on) consult the
  363. '/etc/nsswitch.conf' configuration file to decide how to handle
  364. queries.
  365. With this option group disabled, EGLIBC uses a fixed list of
  366. services to satisfy queries on each database, as requested by
  367. configuration files specified when EGLIBC is built. Your
  368. 'option-groups.config' file must set the following two
  369. variables:
  370. EGLIBC_NSSWITCH_FIXED_CONFIG
  371. Set this to the name of a file whose contents observe the
  372. same syntax as an ordinary '/etc/nsswitch.conf' file. The
  373. EGLIBC build process parses this file just as EGLIBC would
  374. at run time if EGLIBC_NSSWITCH were enabled, and
  375. produces a C library that uses the nsswitch service
  376. libraries to search for database entries as this file
  377. specifies, instead of consulting '/etc/nsswitch.conf' at run
  378. time.
  379. This should be an absolute filename. The EGLIBC build
  380. process may use it from several different working
  381. directories. It may include references to Makefile
  382. variables like 'common-objpfx' (the top of the build tree,
  383. with a trailing slash), or '..' (the top of the source tree,
  384. with a trailing slash).
  385. The EGLIBC source tree includes a sample configuration file
  386. named 'nss/fixed-nsswitch.conf'; for simple configurations,
  387. you will probably want to delete references to databases not
  388. needed on your system.
  389. EGLIBC_NSSWITCH_FIXED_FUNCTIONS
  390. The EGLIBC build process uses this file to decide which
  391. functions to make available from which service libraries.
  392. The file 'nss/fixed-nsswitch.functions' serves as a sample
  393. configuration file for this setting, and explains its syntax
  394. and meaning in more detail.
  395. This should be an absolute file name. The EGLIBC build
  396. process may use it from several different working
  397. directories. It may include references to Makefile
  398. variables like 'common-objpfx' (the top of the build tree,
  399. with a trailing slash), or '..' (the top of the source tree,
  400. with a trailing slash).
  401. Be sure to mention each function in each service you wish to
  402. use. If you do not mention a service's function here, the
  403. EGLIBC database access functions will not find it, even if
  404. it is listed in the EGLIBC_NSSWITCH_FIXED_CONFIG
  405. file.
  406. In this arrangement, EGLIBC will not use the 'dlopen' and
  407. 'dlsym' functions to find database access functions. Instead,
  408. libc hard-codes references to the service libraries' database
  409. access functions. You must explicitly link your program
  410. against the name service libraries (those whose names start
  411. with 'libnss_', in the sysroot's '/lib' directory) whose
  412. functions you intend to use. This arrangement helps
  413. system-wide static analysis tools decide which functions a
  414. system actually uses.
  415. Note that some nsswitch service libraries require other option
  416. groups to be enabled; for example, the EGLIBC_INET
  417. option group must be enabled to use the 'libnss_dns.so.2'
  418. service library, which uses the Domain Name System network
  419. protocol to answer queries.
  420. config EGLIBC_OPTION_EGLIBC_RCMD
  421. bool "Support for 'rcmd' and related library functions"
  422. default y
  423. depends EGLIBC_OPTION_EGLIBC_INET
  424. help
  425. This option group includes functions for running commands on
  426. remote machines via the 'rsh' protocol, and doing authentication
  427. related to those functions. This also includes functions that
  428. use the 'rexec' protocol.
  429. This option group includes the following functions:
  430. rcmd ruserok
  431. rcmd_af ruserok_af
  432. rexec iruserok
  433. rexec_af iruserok_af
  434. rresvport ruserpass
  435. rresvport_af
  436. config EGLIBC_OPTION_EGLIBC_SPAWN
  437. bool "Support for POSIX posix_spawn functions"
  438. default y
  439. help
  440. This option group includes the POSIX functions for executing
  441. programs in child processes without using 'fork' or 'vfork'.
  442. This option group includes the following functions:
  443. posix_spawn
  444. posix_spawnattr_destroy
  445. posix_spawnattr_getflags
  446. posix_spawnattr_getpgroup
  447. posix_spawnattr_getschedparam
  448. posix_spawnattr_getschedpolicy
  449. posix_spawnattr_getsigdefault
  450. posix_spawnattr_getsigmask
  451. posix_spawnattr_init
  452. posix_spawnattr_setflags
  453. posix_spawnattr_setpgroup
  454. posix_spawnattr_setschedparam
  455. posix_spawnattr_setschedpolicy
  456. posix_spawnattr_setsigdefault
  457. posix_spawnattr_setsigmask
  458. posix_spawn_file_actions_addclose
  459. posix_spawn_file_actions_adddup2
  460. posix_spawn_file_actions_addopen
  461. posix_spawn_file_actions_destroy
  462. posix_spawn_file_actions_init
  463. posix_spawnp
  464. This option group also provides the ability for the iconv,
  465. localedef, and locale programs to operate transparently on
  466. compressed charset definitions. When this option group is
  467. disabled, those programs will only operate on uncompressed
  468. charmap files.
  469. config EGLIBC_OPTION_EGLIBC_STREAMS
  470. bool "Support for accessing STREAMS."
  471. default y
  472. help
  473. This option group includes functions for reading and writing
  474. messages to and from STREAMS. The STREAMS interface provides a
  475. uniform mechanism for implementing networking services and other
  476. character-based I/O. (STREAMS are not to be confused with
  477. <stdio.h> FILE objects, also called 'streams'.)
  478. This option group includes the following functions:
  479. getmsg putpmsg
  480. getpmsg fattach
  481. isastream fdetach
  482. putmsg
  483. config EGLIBC_OPTION_EGLIBC_SUNRPC
  484. bool "Support for the Sun 'RPC' protocol."
  485. default y
  486. depends EGLIBC_OPTION_EGLIBC_INET
  487. help
  488. This option group includes support for the Sun RPC protocols,
  489. including the 'rpcgen' and 'rpcinfo' programs.
  490. config EGLIBC_OPTION_EGLIBC_UTMP
  491. bool "Older access functions for 'utmp' login records"
  492. default y
  493. help
  494. This option group includes the older 'utent' family of
  495. functions for accessing user login records in the 'utmp' file.
  496. POSIX omits these functions in favor of the 'utxent' family,
  497. and they are obsolete on systems other than Linux.
  498. This option group includes the following functions:
  499. endutent
  500. getutent
  501. getutent_r
  502. getutid
  503. getutid_r
  504. getutline
  505. getutline_r
  506. logwtmp
  507. pututline
  508. setutent
  509. updwtmp
  510. utmpname
  511. This option group includes the following libraries:
  512. libutil.so (and libutil.a)
  513. config EGLIBC_OPTION_EGLIBC_UTMPX
  514. bool "POSIX access functions for 'utmp' login records"
  515. default y
  516. depends EGLIBC_OPTION_EGLIBC_UTMP
  517. help
  518. This option group includes the POSIX functions for reading and
  519. writing user login records in the 'utmp' file (usually
  520. '/var/run/utmp'). The POSIX functions operate on 'struct
  521. utmpx' structures, as opposed to the family of older 'utent'
  522. functions, which operate on 'struct utmp' structures.
  523. This option group includes the following functions:
  524. endutxent
  525. getutmp
  526. getutmpx
  527. getutxent
  528. getutxid
  529. getutxline
  530. pututxline
  531. setutxent
  532. updwtmpx
  533. utmpxname
  534. config EGLIBC_OPTION_EGLIBC_WORDEXP
  535. bool "Shell-style word expansion"
  536. default y
  537. help
  538. This option group includes the 'wordexp' function for
  539. performing word expansion in the manner of the shell, and the
  540. accompanying 'wordfree' function.
  541. config EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
  542. bool "ISO C library wide character functions, excluding I/O"
  543. default y
  544. help
  545. This option group includes the functions defined by the ISO C
  546. standard for working with wide and multibyte characters in
  547. memory. Functions for reading and writing wide and multibyte
  548. characters from and to files call in the
  549. POSIX_WIDE_CHAR_DEVICE_IO option group.
  550. This option group includes the following functions:
  551. btowc mbsinit wcscspn wcstoll
  552. iswalnum mbsrtowcs wcsftime wcstombs
  553. iswalpha mbstowcs wcslen wcstoul
  554. iswblank mbtowc wcsncat wcstoull
  555. iswcntrl swprintf wcsncmp wcstoumax
  556. iswctype swscanf wcsncpy wcsxfrm
  557. iswdigit towctrans wcspbrk wctob
  558. iswgraph towlower wcsrchr wctomb
  559. iswlower towupper wcsrtombs wctrans
  560. iswprint vswprintf wcsspn wctype
  561. iswpunct vswscanf wcsstr wmemchr
  562. iswspace wcrtomb wcstod wmemcmp
  563. iswupper wcscat wcstof wmemcpy
  564. iswxdigit wcschr wcstoimax wmemmove
  565. mblen wcscmp wcstok wmemset
  566. mbrlen wcscoll wcstol
  567. mbrtowc wcscpy wcstold
  568. config EGLIBC_OPTION_POSIX_REGEXP
  569. bool "Regular expressions"
  570. default y
  571. help
  572. This option group includes the POSIX regular expression
  573. functions, and the associated non-POSIX extensions and
  574. compatibility functions.
  575. With POSIX_REGEXP disabled, the following functions are
  576. omitted from libc:
  577. re_comp re_max_failures regcomp
  578. re_compile_fastmap re_search regerror
  579. re_compile_pattern re_search_2 regexec
  580. re_exec re_set_registers regfree
  581. re_match re_set_syntax rpmatch
  582. re_match_2 re_syntax_options
  583. Furthermore, the compatibility regexp interface defined in the
  584. <regexp.h> header file, 'compile', 'step', and 'advance', is
  585. omitted.
  586. config EGLIBC_OPTION_POSIX_WIDE_CHAR_DEVICE_IO
  587. bool "Input and output functions for wide characters"
  588. default y
  589. depends EGLIBC_OPTION_POSIX_C_LANG_WIDE_CHAR
  590. help
  591. This option group includes functions for reading and writing
  592. wide characters to and from <stdio.h> streams.
  593. This option group includes the following functions:
  594. fgetwc fwprintf putwchar vwscanf
  595. fgetws fwscanf ungetwc wprintf
  596. fputwc getwc vfwprintf wscanf
  597. fputws getwchar vfwscanf
  598. fwide putwc vwprintf
  599. This option group further includes the following unlocked
  600. variants of the above functions:
  601. fgetwc_unlocked getwc_unlocked
  602. fgetws_unlocked getwchar_unlocked
  603. fputwc_unlocked putwc_unlocked
  604. fputws_unlocked putwchar_unlocked
  605. Note that the GNU standard C++ library, 'libstdc++.so', uses
  606. some of these functions; you will not be able to link or run
  607. C++ programs if you disable this option group.
  608. This option group also affects the behavior of the following
  609. functions:
  610. fdopen
  611. fopen
  612. fopen64
  613. freopen
  614. freopen64
  615. These functions all take an OPENTYPE parameter which may
  616. contain a string of the form ",ccs=CHARSET", indicating that
  617. the underlying file uses the character set named CHARSET.
  618. This produces a wide-oriented stream, which is only useful
  619. when the functions included in this option group are present.
  620. If the user attempts to open a file specifying a character set
  621. in the OPENTYPE parameter, and EGLIBC was built with this
  622. option group disabled, the function returns NULL, and sets
  623. errno to EINVAL.