From 339c056f856313e215baab8ddc4bc0ce064b4571 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 25 Jul 2011 00:38:53 +0000 Subject: update HISTORY and SEE ALSO for all of string(3), together with various smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree --- src/lib/libc/string/strcspn.3 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/lib/libc/string/strcspn.3') diff --git a/src/lib/libc/string/strcspn.3 b/src/lib/libc/string/strcspn.3 index 21c727344d..70c8ef7612 100644 --- a/src/lib/libc/string/strcspn.3 +++ b/src/lib/libc/string/strcspn.3 @@ -1,3 +1,5 @@ +.\" $OpenBSD: strcspn.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $ +.\" .\" Copyright (c) 1990, 1991 The Regents of the University of California. .\" All rights reserved. .\" @@ -29,9 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strcspn.3,v 1.9 2007/08/08 07:20:45 ray Exp $ -.\" -.Dd $Mdocdate: August 8 2007 $ +.Dd $Mdocdate: July 25 2011 $ .Dt STRCSPN 3 .Os .Sh NAME @@ -92,9 +92,17 @@ if (fgets(line, sizeof(line), fp) != NULL) .Xr strsep 3 , .Xr strspn 3 , .Xr strstr 3 , -.Xr strtok 3 +.Xr strtok 3 , +.Xr wcscspn 3 .Sh STANDARDS The .Fn strcspn function conforms to .St -ansiC . +.Sh HISTORY +The +.Fn strcspn +function first appeared in +.At III +and was reimplemented for +.Bx 4.3 Tahoe . -- cgit v1.2.3-55-g6feb