summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/stdlib/getopt.33
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3
index 2fb70b7260..9de8af3dcf 100644
--- a/src/lib/libc/stdlib/getopt.3
+++ b/src/lib/libc/stdlib/getopt.3
@@ -25,7 +25,7 @@
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE. 26.\" SUCH DAMAGE.
27.\" 27.\"
28.\" $OpenBSD: getopt.3,v 1.35 2005/07/26 04:20:23 jaredy Exp $ 28.\" $OpenBSD: getopt.3,v 1.36 2005/07/26 13:38:41 jmc Exp $
29.\" 29.\"
30.Dd December 17, 2002 30.Dd December 17, 2002
31.Dt GETOPT 3 31.Dt GETOPT 3
@@ -362,7 +362,6 @@ It is provided for backward compatibility
362.Em only . 362.Em only .
363The following code fragment works in most cases and can handle mixed 363The following code fragment works in most cases and can handle mixed
364number and letter arguments. 364number and letter arguments.
365
366.Bd -literal -offset indent 365.Bd -literal -offset indent
367int aflag = 0, bflag = 0, ch, lastch = '\e0'; 366int aflag = 0, bflag = 0, ch, lastch = '\e0';
368int length = -1, newarg = 1, prevoptind = 1; 367int length = -1, newarg = 1, prevoptind = 1;