getopt_long_only(3) Library Functions Manual getopt_long_only(3) getopt_long_only - (libc -lc) #define _GNU_SOURCE #include int getopt_long_only(int argc, char *argv[], const char *optstring, const struct option *longopts, int *longindex); getopt_long_only() getopt_long(3) '-' "--" . '-' ( "--") . attributes(7). +----------------------+------------------------------------+----------+ | | | | +----------------------+------------------------------------+----------+ |getopt_long_only() | | | | | | | | | | | | | | | | | | (MT-Unsafe) | | | | :getopt | | | | env | +----------------------+------------------------------------+----------+ GNU. getopt(1), getopt(3), getopt_long(3), getsubopt(3) 3 . . : . 6.18 7 2025 getopt_long_only(3)