Subject: lib/1905: typo in strspn manpage
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kashmir@umiacs.umd.edu>
List: netbsd-bugs
Date: 01/06/1996 15:35:11
>Number: 1905
>Category: lib
>Synopsis: typo in strspn manpage
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 6 15:50:04 1996
>Last-Modified:
>Originator: Mike Grupenhoff
>Organization:
nyuk nyuk
>Release: -current 960106
>Environment:
System: NetBSD snarf.umiacs.umd.edu 1.1A NetBSD 1.1A (SNARF) #7: Fri Dec 29 23:04:19 EST 1995 kashmir@snarf.umiacs.umd.edu:/usr/src/sys/arch/i386/compile/SNARF i386
>Description:
strspn refers to itself as strcspn, and uses the .Xr macro instead of
.Fn
>How-To-Repeat:
man strspn
>Fix:
Index: strspn.3
===================================================================
RCS file: /snarf/netbsd/master/src/lib/libc/string/strspn.3,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 strspn.3
--- strspn.3 1995/11/16 02:21:03 1.1.1.1
+++ strspn.3 1996/01/02 05:02:06
@@ -48,7 +48,7 @@
.Fn strspn "const char *s" "const char *charset"
.Sh DESCRIPTION
The
-.Xr strcspn
+.Fn strspn
function
spans the initial part of the null-terminated string
.Fa s
>Audit-Trail:
>Unformatted: