diff options
Diffstat (limited to 'src/lib/libc/string/strstr.3')
-rw-r--r-- | src/lib/libc/string/strstr.3 | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/libc/string/strstr.3 b/src/lib/libc/string/strstr.3 index 24fdf540ed..10beea42ca 100644 --- a/src/lib/libc/string/strstr.3 +++ b/src/lib/libc/string/strstr.3 | |||
@@ -33,8 +33,7 @@ | |||
33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
34 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" from: @(#)strstr.3 5.3 (Berkeley) 6/29/91 | 36 | .\" $OpenBSD: strstr.3,v 1.5 2000/04/21 15:24:20 aaron Exp $ |
37 | .\" $Id: strstr.3,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $ | ||
38 | .\" | 37 | .\" |
39 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
40 | .Dt STRSTR 3 | 39 | .Dt STRSTR 3 |
@@ -49,8 +48,7 @@ | |||
49 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
50 | The | 49 | The |
51 | .Fn strstr | 50 | .Fn strstr |
52 | function | 51 | function locates the first occurrence of the null-terminated string |
53 | locates the first occurrence of the null-terminated string | ||
54 | .Fa little | 52 | .Fa little |
55 | in the null-terminated string | 53 | in the null-terminated string |
56 | .Fa big . | 54 | .Fa big . |
@@ -65,15 +63,14 @@ if | |||
65 | occurs nowhere in | 63 | occurs nowhere in |
66 | .Fa big , | 64 | .Fa big , |
67 | .Fn strstr | 65 | .Fn strstr |
68 | returns NULL; | 66 | returns |
67 | .Dv NULL ; | ||
69 | otherwise | 68 | otherwise |
70 | .Fn strstr | 69 | .Fn strstr |
71 | returns a pointer to the first character of the first occurrence of | 70 | returns a pointer to the first character of the first occurrence of |
72 | .Fa little . | 71 | .Fa little . |
73 | .Sh SEE ALSO | 72 | .Sh SEE ALSO |
74 | .Xr index 3 , | ||
75 | .Xr memchr 3 , | 73 | .Xr memchr 3 , |
76 | .Xr rindex 3 , | ||
77 | .Xr strchr 3 , | 74 | .Xr strchr 3 , |
78 | .Xr strcspn 3 , | 75 | .Xr strcspn 3 , |
79 | .Xr strpbrk 3 , | 76 | .Xr strpbrk 3 , |
@@ -84,6 +81,5 @@ returns a pointer to the first character of the first occurrence of | |||
84 | .Sh STANDARDS | 81 | .Sh STANDARDS |
85 | The | 82 | The |
86 | .Fn strstr | 83 | .Fn strstr |
87 | function | 84 | function conforms to |
88 | conforms to | ||
89 | .St -ansiC . | 85 | .St -ansiC . |