summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/getpwent_r.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-05 07:06:08 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-05 07:06:08 +0000
commit3ea0aa46f70e85a7cd97b278831b73ec46cb71f6 (patch)
treedfa33056c953a912124e06a85ca83e61a00f0a91 /libc/pwd_grp/getpwent_r.c
parentee438a1eb65d4092116df23ce029fa98bc5ea162 (diff)
zen in #938 writes:
I had occasion to look at the uClibc script "getent" and felt compelled to clean out the cargo-cult programming style. I believe that this version is clearer, and I've added some minor features while I was in there: * usage clause, if no arguments or "--help" requested * original version appears to have been intending to "exit 2" on failure to match, but didn't * basic, probably good enough, support for ethers and netgroups * faster ;-) [as if that matters for this script]
Diffstat (limited to 'libc/pwd_grp/getpwent_r.c')
0 files changed, 0 insertions, 0 deletions