diff options
| author | schwarze <> | 2011-07-25 00:38:53 +0000 |
|---|---|---|
| committer | schwarze <> | 2011-07-25 00:38:53 +0000 |
| commit | 4177f58a54256bfade9e5f9b4e2d5de8559df24c (patch) | |
| tree | 7c0511efd76ae46bc18c0955627ddf69509014c6 /src/lib/libc/string/strspn.3 | |
| parent | df65e1e7298f644359a9e80e947e7d237c0479b8 (diff) | |
| download | openbsd-4177f58a54256bfade9e5f9b4e2d5de8559df24c.tar.gz openbsd-4177f58a54256bfade9e5f9b4e2d5de8559df24c.tar.bz2 openbsd-4177f58a54256bfade9e5f9b4e2d5de8559df24c.zip | |
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
Diffstat (limited to 'src/lib/libc/string/strspn.3')
| -rw-r--r-- | src/lib/libc/string/strspn.3 | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/lib/libc/string/strspn.3 b/src/lib/libc/string/strspn.3 index f902ca35d2..b1a2ae3014 100644 --- a/src/lib/libc/string/strspn.3 +++ b/src/lib/libc/string/strspn.3 | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | .\" $OpenBSD: strspn.3,v 1.10 2011/07/25 00:38:53 schwarze Exp $ | ||
| 2 | .\" | ||
| 1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 2 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| 3 | .\" | 5 | .\" |
| @@ -29,9 +31,7 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 31 | .\" | 33 | .\" |
| 32 | .\" $OpenBSD: strspn.3,v 1.9 2007/05/31 19:19:32 jmc Exp $ | 34 | .Dd $Mdocdate: July 25 2011 $ |
| 33 | .\" | ||
| 34 | .Dd $Mdocdate: May 31 2007 $ | ||
| 35 | .Dt STRSPN 3 | 35 | .Dt STRSPN 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -76,9 +76,17 @@ span = strspn(s, charset); | |||
| 76 | .Xr strrchr 3 , | 76 | .Xr strrchr 3 , |
| 77 | .Xr strsep 3 , | 77 | .Xr strsep 3 , |
| 78 | .Xr strstr 3 , | 78 | .Xr strstr 3 , |
| 79 | .Xr strtok 3 | 79 | .Xr strtok 3 , |
| 80 | .Xr wcsspn 3 | ||
| 80 | .Sh STANDARDS | 81 | .Sh STANDARDS |
| 81 | The | 82 | The |
| 82 | .Fn strspn | 83 | .Fn strspn |
| 83 | function conforms to | 84 | function conforms to |
| 84 | .St -ansiC . | 85 | .St -ansiC . |
| 86 | .Sh HISTORY | ||
| 87 | The | ||
| 88 | .Fn strspn | ||
| 89 | function first appeared in | ||
| 90 | .At III | ||
| 91 | and was reimplemented for | ||
| 92 | .Bx 4.3 Tahoe . | ||
