musl/src/misc
Rich Felker 030e526392 add getopt reset support
based on proposed patches by Daniel Cegiełka, with minor changes:
- use a weak symbol for optreset so it doesn't clash with namespace
- also reset optpos (position in multi-option arg like -lR)
- also make getopt_long support reset
2012-09-30 20:00:38 -04:00
..
a64l.c implement a64l and l64a (legacy xsi stuff) 2012-03-01 23:43:31 -05:00
basename.c alias basename to glibc name for it, to meet abi goals 2012-01-18 23:28:48 -05:00
dirname.c fix dirname to handle input of form "foo/" correctly 2012-09-26 00:56:07 -04:00
ffs.c optimize legacy ffs function 2012-08-23 14:38:34 -04:00
forkpty.c check for fd exhaustion in forkpty 2011-07-22 00:25:56 -04:00
get_current_dir_name.c fix get_current_dir_name behavior 2012-02-17 23:56:28 -05:00
getdomainname.c add setdomainname syscall, fix getdomainname (previously a stub) 2012-09-09 16:50:20 -04:00
getgrouplist.c implement getgrouplist (for initgroups), formerly dummied-out 2011-04-13 09:39:47 -04:00
gethostid.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
getopt.c add getopt reset support 2012-09-30 20:00:38 -04:00
getopt_long.c add getopt reset support 2012-09-30 20:00:38 -04:00
getpriority.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
getresgid.c add getresuid and getresgid syscall wrappers 2012-04-22 10:37:19 -04:00
getresuid.c add getresuid and getresgid syscall wrappers 2012-04-22 10:37:19 -04:00
getrlimit.c use prlimit syscall for getrlimit/setrlimit 2012-01-20 22:30:52 -05:00
getrusage.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
getsubopt.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
initgroups.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
ioctl.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
lockf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
mntent.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
nftw.c protect ftw and nftw against cancellation 2011-04-18 21:17:03 -04:00
openpty.c incorrect check for open failure in openpty function 2011-07-22 00:23:36 -04:00
ptsname.c fix ptsname_r to conform to the upcoming posix requirements 2012-06-20 15:11:27 -04:00
pty.c fix ptsname_r to conform to the upcoming posix requirements 2012-06-20 15:11:27 -04:00
realpath.c fix some more O_CLOEXEC/SOCK_CLOEXEC issues 2012-09-29 17:59:50 -04:00
setdomainname.c add setdomainname syscall, fix getdomainname (previously a stub) 2012-09-09 16:50:20 -04:00
setpriority.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
setrlimit.c use prlimit syscall for getrlimit/setrlimit 2012-01-20 22:30:52 -05:00
syscall.c cleanup src/linux and src/misc trees, etc. 2012-09-07 00:48:25 -04:00
syslog.c emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels 2012-09-29 17:36:27 -04:00
uname.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
wordexp.c use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00