X-Git-Url: https://git.datadissipation.net/libcext/blobdiff_plain/fd4273e5b7249057309c65c78ec1bd766bed03fe..d933aef4792c1af2f074bd20c3350d477223e92e:/README.md diff --git a/README.md b/README.md index 46ea40c..d2fc167 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -A (WIP) collection of portable, (mostly) strict C99, single-header implementations of common libc extensions. +A (WIP) collection of portable, strict C99, single-header implementations of common libc extensions. ### How to @@ -21,21 +21,34 @@ By default, the header won't have any stdlib includes, change that with: #define _INCLUDE_LIBC ``` -Or disable function override with: +Or disable function, type and variable override with: ``` #define HAVE_ ``` -## Specifics +### Specifics + +--- + +### asprintf + +includes `vasprintf()` and `asprintf()` + +--- ### getopt\_long +includes `getopt()`, `getsubopt()`, `getopt_long()` and `getopt_long_only()` + `getopt_long.h` has additional macros related to argument -permuting, defining those enables it (GNU behaviour): +permuting, defining those enables it (GNU behaviour, can still be disabled by setting `$POSIXLY_CORRECT`): ``` #define GETOPT_PERMUTE_ARGS #define GETOPT_LONG_PERMUTE_ARGS #define GETOPT_LONG_ONLY_PERMUTE_ARGS ``` + +--- +