[PATCH v18 11/11] support: Document the correct macro name for (CMDLINE_OPTIONS)
Vivien Kraus
vivien@planete-kraus.eu
Sun Nov 23 17:07:38 GMT 2025
---
support/test-driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/test-driver.c b/support/test-driver.c
index 40e2bc0ee2..786e983e73 100644
--- a/support/test-driver.c
+++ b/support/test-driver.c
@@ -84,7 +84,7 @@
mallopt.
Custom command line handling can be implemented by defining the
- CMDLINE_OPTION macro (after including the <getopt.h> header; this
+ CMDLINE_OPTIONS macro (after including the <getopt.h> header; this
requires _GNU_SOURCE to be defined). This macro must expand to a
to a comma-separated list of braced initializers for struct option
from <getopt.h>, with a trailing comma. CMDLINE_PROCESS can be
--
2.34.1
More information about the Libc-alpha
mailing list