diff options
author | cloder <> | 2005-02-25 03:12:44 +0000 |
---|---|---|
committer | cloder <> | 2005-02-25 03:12:44 +0000 |
commit | 67e61f91527f9a7cd6b9a16b0cd90dd56607d505 (patch) | |
tree | d9de936ffc7fa9289c7b7f61b1db414900ba94fa /src/lib/libc/string/strcspn.3 | |
parent | 52fef3b7d084fa9e2d0ac9187917b0ede8d9d58d (diff) | |
download | openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.tar.gz openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.tar.bz2 openbsd-67e61f91527f9a7cd6b9a16b0cd90dd56607d505.zip |
Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
Diffstat (limited to 'src/lib/libc/string/strcspn.3')
-rw-r--r-- | src/lib/libc/string/strcspn.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/strcspn.3 b/src/lib/libc/string/strcspn.3 index 6dfe1b276e..c28d99a901 100644 --- a/src/lib/libc/string/strcspn.3 +++ b/src/lib/libc/string/strcspn.3 | |||
@@ -29,7 +29,7 @@ | |||
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
31 | .\" | 31 | .\" |
32 | .\" $OpenBSD: strcspn.3,v 1.6 2003/06/02 20:18:38 millert Exp $ | 32 | .\" $OpenBSD: strcspn.3,v 1.7 2005/02/25 03:12:44 cloder Exp $ |
33 | .\" | 33 | .\" |
34 | .Dd June 29, 1991 | 34 | .Dd June 29, 1991 |
35 | .Dt STRCSPN 3 | 35 | .Dt STRCSPN 3 |
@@ -44,7 +44,7 @@ | |||
44 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
45 | The | 45 | The |
46 | .Fn strcspn | 46 | .Fn strcspn |
47 | function spans the initial part of the null-terminated string | 47 | function spans the initial part of the NUL-terminated string |
48 | .Fa s | 48 | .Fa s |
49 | as long as the characters from | 49 | as long as the characters from |
50 | .Fa s | 50 | .Fa s |