summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcspn.3
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2005-02-25 03:12:43 +0000
committercloder <cloder@openbsd.org>2005-02-25 03:12:43 +0000
commit1e5ede29f718fe4f17c128f8fde29ac3824349f1 (patch)
treefd6e65cd34239687cd19bb98f99ffdf5a9155023 /lib/libc/string/strcspn.3
parentFix an obviously incorrect call to memset. '0' and 0 are not the same (diff)
downloadwireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.tar.xz
wireguard-openbsd-1e5ede29f718fe4f17c128f8fde29ac3824349f1.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 'lib/libc/string/strcspn.3')
-rw-r--r--lib/libc/string/strcspn.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/strcspn.3 b/lib/libc/string/strcspn.3
index 6dfe1b276e6..c28d99a9014 100644
--- a/lib/libc/string/strcspn.3
+++ b/lib/libc/string/strcspn.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strcspn.3,v 1.6 2003/06/02 20:18:38 millert Exp $
+.\" $OpenBSD: strcspn.3,v 1.7 2005/02/25 03:12:44 cloder Exp $
.\"
.Dd June 29, 1991
.Dt STRCSPN 3
@@ -44,7 +44,7 @@
.Sh DESCRIPTION
The
.Fn strcspn
-function spans the initial part of the null-terminated string
+function spans the initial part of the NUL-terminated string
.Fa s
as long as the characters from
.Fa s