diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-07-19 16:05:52 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-11-20 02:47:50 -0500 |
commit | 117a32a63b837730cc97b0a233ab46e9abc6c7a7 (patch) | |
tree | 8a0f4b5fa2058c09f300c1701440a0864b4d5918 /extra | |
parent | 4a2b0641a3818ad14b886907368b6f6735615f6d (diff) |
stdio: add support for "e" flag with fopen()
Support this useful glibc extension for optionally setting O_CLOEXEC
on fopen streams.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/Configs/Config.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 0f0ccfe62..97aafb789 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1722,6 +1722,15 @@ config UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE Most people will answer N. +config UCLIBC_HAS_FOPEN_CLOSEEXEC_MODE + bool "Support an fopen() 'e' flag for close-on-exec mode (glibc-compat)" + help + Answer Y to support a glibc extension to allow passing + additional 'e' flag in the mode string for fopen() to specify that + the file should be open()ed with the O_CLOEXEC flag set. + + Most people will answer N. + config UCLIBC_HAS_GLIBC_CUSTOM_STREAMS bool "Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat)" help |