summaryrefslogtreecommitdiff
path: root/usr.bin/getopt/getopt.c
AgeCommit message (Expand)Author
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2018-06-19Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.Mariusz Zaborski
2016-11-08Capsicumize some trivial stdio programsConrad Meyer
2009-12-13Revert most part of 200420 as requested, as more review and polish isXin LI
2009-12-11Remove unneeded header includes from usr.bin/ except contributed code.Xin LI
2008-05-15getopt.c is public domain. Add a comment to that effect.Brooks Davis
2002-09-04ANSIify function definitions.David Malone
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2002-04-28Minor nit; return(foo) from main rather than exit(foo).Mark Murray
2001-12-03Warns cleanup (just make main return an int).David Malone
2001-06-24Include missing header files which define functions for which gcc hasDima Dorfman
2000-09-04getopt and friends are declared in <unistd.h>Warner Losh
1999-04-04Back out part of previous commit.Martin Cracauer
1999-04-031) Fix the case where a shellscript using getopt is called with aMartin Cracauer
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1993-07-26Added getopt(1) from NetBSDNate Williams