diff --git a/man3/stpcpy.3 b/man3/stpcpy.3 index 1dcd3ca94..70e9e21e9 100644 --- a/man3/stpcpy.3 +++ b/man3/stpcpy.3 @@ -37,7 +37,7 @@ stpcpy \- copy a string returning a pointer to its end The .BR stpcpy () function copies the string pointed to by \fIsrc\fP -(including the terminating `\\0' character) to the array pointed to by +(including the terminating '\\0' character) to the array pointed to by \fIdest\fP. The strings may not overlap, and the destination string \fIdest\fP must be large enough to receive the copy. diff --git a/man3/strlen.3 b/man3/strlen.3 index dcd9e0336..0e25521c2 100644 --- a/man3/strlen.3 +++ b/man3/strlen.3 @@ -38,7 +38,7 @@ strlen \- calculate the length of a string The .BR strlen () function calculates the length of the string -\fIs\fP, not including the terminating `\\0' character. +\fIs\fP, not including the terminating '\\0' character. .SH "RETURN VALUE" The .BR strlen () diff --git a/man3/strsep.3 b/man3/strsep.3 index 5706f4e83..60e9ba113 100644 --- a/man3/strsep.3 +++ b/man3/strsep.3 @@ -45,7 +45,7 @@ and does nothing else. Otherwise, this function finds the first token in the string *\fIstringp\fP, where tokens are delimited by symbols in the string \fIdelim\fP. -This token is terminated with a `\\0' character +This token is terminated with a '\\0' character (by overwriting the delimiter) and *\fIstringp\fP is updated to point past the token. In case no delimiter was found, the token is taken to be diff --git a/man3/strstr.3 b/man3/strstr.3 index 9d08885a4..49039dbb1 100644 --- a/man3/strstr.3 +++ b/man3/strstr.3 @@ -48,7 +48,7 @@ The .BR strstr () function finds the first occurrence of the substring \fIneedle\fP in the string \fIhaystack\fP. -The terminating \`\\0' characters are not compared. +The terminating '\\0' characters are not compared. The .BR strcasestr () diff --git a/man3/strtol.3 b/man3/strtol.3 index 1f0a594e8..decd49a3c 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -73,8 +73,8 @@ all, .BR strtol () stores the original value of \fInptr\fP in \fI*endptr\fP (and returns 0). -In particular, if \fI*nptr\fP is not `\\0' but \fI**endptr\fP -is `\\0' on return, the entire string is valid. +In particular, if \fI*nptr\fP is not '\\0' but \fI**endptr\fP +is '\\0' on return, the entire string is valid. .PP The .BR strtoll () diff --git a/man3/strtoul.3 b/man3/strtoul.3 index 9d73da771..73ac0ba74 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -75,8 +75,8 @@ all, .BR strtoul () stores the original value of \fInptr\fP in \fI*endptr\fP (and returns 0). -In particular, if \fI*nptr\fP is not `\\0' but \fI**endptr\fP -is `\\0' on return, the entire string is valid. +In particular, if \fI*nptr\fP is not '\\0' but \fI**endptr\fP +is '\\0' on return, the entire string is valid. .PP The .BR strtoull () diff --git a/man3/strxfrm.3 b/man3/strxfrm.3 index 059f13f1c..3b2b24edf 100644 --- a/man3/strxfrm.3 +++ b/man3/strxfrm.3 @@ -56,7 +56,7 @@ The .BR strxfrm () function returns the number of bytes required to store the transformed string in \fIdest\fP excluding the terminating -`\\0' character. +'\\0' character. If the value returned is \fIn\fP or more, the contents of \fIdest\fP are indeterminate. .SH "CONFORMING TO"