Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/ctype.3,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/gen/ctype.3,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.19 retrieving revision 1.20 diff -u -p -r1.19 -r1.20 --- src/lib/libc/gen/ctype.3 2009/03/11 12:57:03 1.19 +++ src/lib/libc/gen/ctype.3 2010/04/05 21:33:54 1.20 @@ -1,4 +1,4 @@ -.\" $NetBSD: ctype.3,v 1.19 2009/03/11 12:57:03 joerg Exp $ +.\" $NetBSD: ctype.3,v 1.20 2010/04/05 21:33:54 joerg Exp $ .\" .\" Copyright (c) 1991 Regents of the University of California. .\" All rights reserved. @@ -78,7 +78,7 @@ To print an upper-case version of a stri code: .Bd -literal const char *s = ...; -while (*s != '\\0') { +while (*s != '\e0') { putchar(toupper((int)(unsigned char)*s)); s++; }