@@ -36,6 +36,7 @@ needed in @code{main}.
@comment argp.h
@comment GNU
@deftypefun {error_t} argp_parse (const struct argp *@var{argp}, int @var{argc}, char **@var{argv}, unsigned @var{flags}, int *@var{arg_index}, void *@var{input})
+@standards{GNU, argp.h}
@safety{@prelim{}@mtunsafe{@mtasurace{:argpbuf} @mtslocale{} @mtsenv{}}@asunsafe{@ascuheap{} @ascuintl{} @asulock{} @asucorrupt{}}@acunsafe{@acsmem{} @aculock{} @acucorrupt{}}}
@c Optionally alloca()tes standard help options, initializes the parser,
@c then parses individual args in a loop, and then finalizes.
@@ -111,6 +112,7 @@ These variables make it easy for user programs to implement the
@comment argp.h
@comment GNU
@deftypevar {const char *} argp_program_version
+@standards{GNU, argp.h}
If defined or set by the user program to a non-zero value, then a
@samp{--version} option is added when parsing with @code{argp_parse},
which will print the @samp{--version} string followed by a newline and
@@ -267,4 +267,10 @@ cwd\comments\
@end macro
@end ifnottex
+@c Format which header and standard something comes from.
+@macro standards {standard, header}
+Standards: \standard\ (@file{\header\}). @xref{Feature Test Macros}.
+@sp 0
+@end macro
+
@end ifclear