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/strstr.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/strstr.3')
-rw-r--r-- | src/lib/libc/string/strstr.3 | 6 |
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 |
45 | The | 45 | The |
46 | .Fn strstr | 46 | .Fn strstr |
47 | function locates the first occurrence of the null-terminated string | 47 | function locates the first occurrence of the NUL-terminated string |
48 | .Fa little | 48 | .Fa little |
49 | in the null-terminated string | 49 | in the NUL-terminated string |
50 | .Fa big . | 50 | .Fa big . |
51 | If | 51 | If |
52 | .Fa little | 52 | .Fa little |