getopt icon indicating copy to clipboard operation
getopt copied to clipboard

POSIX getopt() as a portable header library

Results 3 getopt issues
Sort by recently updated
recently updated
newest added

Hi! Nice to use on say MSVC/Win32 where there is no platform support. Would you mind adding getopt_long() that is used by e.g. xz-utils ? Regards

Replace usage of `strcmp`. If one replaces `strchr` (used in one place) `string.h` can be ditched entirely. PS: I was inspired by your excellent [review of the C standard library](https://nullprogram.com/blog/2023/02/11/)...

Hey, I was looking for exactly this for some project that I wanted to work on Linux & Windows (see https://github.com/eriknyquist/BrainfuckIntern), except that I didn't want the non-option arguments to...