aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt.3
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-231-1/+0
| | | | | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit b2c76c41be32)
* [mdoc] Fix previous change.Sergey Kandaurov2014-07-081-1/+1
| | | | Notes: svn path=/head/; revision=268393
* getopt(3): clarify GNU instead of NetBSD.Pedro F. Giffuni2014-07-041-1/+1
| | | | | | | | | | | The manpage and the code for r267745 came from NetBSD but the option is inspired on GNU. Reported by: Ben Kaduk MFC after: 3 days Notes: svn path=/head/; revision=268268
* getopt(3): recognize option:: as GNU extension for "optional options".Pedro F. Giffuni2014-06-221-2/+13
| | | | | | | | | | | | | Also ANSIfy a function declaration. While here update the OpenBSD patch level in getopt_long.c as we already have the corresponding change. Obtained from: NetBSD MFC after: 2 weeks Notes: svn path=/head/; revision=267745
* Renumber clauses to reduce diffs to other versionsEd Maste2013-05-281-1/+1
| | | | | | | | NetBSD, OpenBSD, and Android's Bionic number the clauses 1 through 3, so follow suit to make comparison easier. Notes: svn path=/head/; revision=251069
* mdoc: remove unbalanced quotesUlrich Spörlein2010-08-021-2/+2
| | | | Notes: svn path=/head/; revision=210765
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
| | | | | | | | | clause. # If I've done so improperly on a file, please let me know. Notes: svn path=/head/; revision=165903
* Use #include <unistd.h> rather than the explicit externs in theWarner Losh2004-07-311-2/+1
| | | | | | | | | example. The externs haven't been needed in about 10 years, so there's no reason to have them other than for hysterical raisins. And the California Rasins haven't been around for a long time... Notes: svn path=/head/; revision=132910
* Eliminate double whitespace.Ruslan Ermilov2004-07-031-4/+4
| | | | Notes: svn path=/head/; revision=131539
* Merge some fixes from NetBSD's getopt.3 v1.31:Andrey A. Chernov2004-03-061-43/+88
| | | | | | | cleanup, add more sections, better explanation, declaration Notes: svn path=/head/; revision=126697
* mdoc(7): Properly mark C headers.Ruslan Ermilov2003-09-101-1/+1
| | | | Notes: svn path=/head/; revision=119964
* Consistently mark std(in|out|err) with .Dv, because that's how theyRuslan Ermilov2002-12-041-1/+1
| | | | | | | | | | are marked up in stdio(3), and because they are defined expressions of type "FILE *". Approved by: re Notes: svn path=/head/; revision=107619
* Move to using .In instead of .Fd #include <> for include mark-up.Jeroen Ruigrok van der Werven2001-09-071-1/+1
| | | | | | | Inspired by comment from: dd Notes: svn path=/head/; revision=83206
* Remove whitespace at EOL.Dima Dorfman2001-07-151-6/+6
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79531
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-5/+5
| | | | Notes: svn path=/head/; revision=70974
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-2/+2
| | | | Notes: svn path=/head/; revision=70481
* The parameter that contains valid options is "optstring", not "optarg".Matthew Hunt2000-11-281-1/+1
| | | | Notes: svn path=/head/; revision=69329
* mdoc(7) police: use certified section headers wherever possible.Ruslan Ermilov2000-11-171-1/+1
| | | | Notes: svn path=/head/; revision=68854
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* Spelling, fprintf -> err, remove unneeded variable declarationPhilippe Charnier2000-03-261-8/+3
| | | | Notes: svn path=/head/; revision=58633
* Make example for handling "-##" work and comply with style(9). StillTim Vanderhoek2000-01-061-5/+12
| | | | | | | | | doesn't handle nastier corner cases such as "-j3 -33" correctly. <shrug> PR: docs/12994 (James Howard <howardjp@wam.umd.edu>) Notes: svn path=/head/; revision=55490
* TypoKris Kennaway1999-11-151-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=53168
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48794
* Fix a few nits in quoted code fragments and elsewhere.Robert Nordier1998-05-041-5/+4
| | | | Notes: svn path=/head/; revision=35726
* indentDima Ruban1998-04-201-1/+1
| | | | Notes: svn path=/head/; revision=35358
* Typo.Masafumi Max NAKANE1997-04-251-1/+1
| | | | | | | | PR: #3178 Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25145
* Merge Lite2 changesPeter Wemm1997-03-111-13/+21
| | | | Notes: svn path=/head/; revision=23662
* Correctly document when getopt returns EOF and '?', and some otherMike Pritchard1996-08-211-5/+7
| | | | | | | minor cleanup. Notes: svn path=/head/; revision=17748
* Fix even more spelling errors in some more man pages.Mike Pritchard1996-01-301-1/+1
| | | | Notes: svn path=/head/; revision=13750
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+252
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573