all unistd.h functions, use _GETOPT_DECLARE define for that.
getsubopt/optreset
Obtained from: NetBSD Sponsored by: Apple