summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-02-23 19:54:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-02-23 19:54:30 +0000
commita8771c04817f47dcb44b34356cf81faae80110b8 (patch)
tree39f88a97475f1ddcd6b8ae6bdf63e5834921124a /lib/libc
parent1d41723f8f18ee107e0be691398db6c76eab5be1 (diff)
deraadt@ objects to the caveat remark, so remove it.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/getopt.312
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 4f6fe9749bd..083849f42c7 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getopt.3,v 1.15 2002/02/23 19:50:01 miod Exp $
+.\" $OpenBSD: getopt.3,v 1.16 2002/02/23 19:54:29 miod Exp $
.\"
.Dd April 19, 1994
.Dt GETOPT 3
@@ -192,16 +192,6 @@ The
.Fn getopt
function appeared in
.Bx 4.3 .
-.Sh CAVEATS
-Some software use the very bad practice of affecting the return value of
-.Fn getopt
-to a
-.Ft char
-variable.
-On platforms where
-.Ft char
-is unsigned by default, a comparison of this variable to \-1 to detect the
-end of the argument list will never succeed.
.Sh BUGS
The
.Fn getopt