HelenOS sources

uspace/lib/c/include/getopt.h
uspace/lib/posix/include/libc/getopt.h
uspace/lib/posix/include/posix/getopt.h
HelenOS homepage, sources at GitHub