summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strstr.3
diff options
context:
space:
mode:
authorcloder <>2005-02-25 03:12:44 +0000
committercloder <>2005-02-25 03:12:44 +0000
commit67e61f91527f9a7cd6b9a16b0cd90dd56607d505 (patch)
treed9de936ffc7fa9289c7b7f61b1db414900ba94fa /src/lib/libc/string/strstr.3
parent52fef3b7d084fa9e2d0ac9187917b0ede8d9d58d (diff)
downloadopenbsd-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/strstr.3')
-rw-r--r--src/lib/libc/string/strstr.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/string/strstr.3 b/src/lib/libc/string/strstr.3
index 47777dd89f..64396e7885 100644
--- a/src/lib/libc/string/strstr.3
+++ b/src/lib/libc/string/strstr.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: strstr.3,v 1.6 2003/06/02 20:18:38 millert Exp $ 32.\" $OpenBSD: strstr.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 STRSTR 3 35.Dt STRSTR 3
@@ -44,9 +44,9 @@
44.Sh DESCRIPTION 44.Sh DESCRIPTION
45The 45The
46.Fn strstr 46.Fn strstr
47function locates the first occurrence of the null-terminated string 47function locates the first occurrence of the NUL-terminated string
48.Fa little 48.Fa little
49in the null-terminated string 49in the NUL-terminated string
50.Fa big . 50.Fa big .
51If 51If
52.Fa little 52.Fa little