mirror of https://github.com/mkerrisk/man-pages
getopt.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
763cccc52e
commit
0b8ff5561c
|
@ -36,7 +36,7 @@
|
|||
.\" the start of optstring
|
||||
.\" Modified 2006-12-15, mtk, Added getopt() example program.
|
||||
.\"
|
||||
.TH GETOPT 3 2008-08-29 "GNU" "Linux Programmer's Manual"
|
||||
.TH GETOPT 3 2010-02-03 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getopt, getopt_long, getopt_long_only,
|
||||
optarg, optind, opterr, optopt \- Parse command-line options
|
||||
|
@ -68,7 +68,7 @@ Feature Test Macro Requirements for glibc (see
|
|||
.in
|
||||
.sp
|
||||
.BR getopt ():
|
||||
_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE || _POSIX_SOURCE
|
||||
_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
|
||||
.br
|
||||
.BR getopt_long (),
|
||||
.BR getopt_long_only ():
|
||||
|
|
Loading…
Reference in New Issue