diff options
Diffstat (limited to 'src/lib/libc/string/memchr.3')
-rw-r--r-- | src/lib/libc/string/memchr.3 | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/lib/libc/string/memchr.3 b/src/lib/libc/string/memchr.3 index 0bcdde698e..632c440b5b 100644 --- a/src/lib/libc/string/memchr.3 +++ b/src/lib/libc/string/memchr.3 | |||
@@ -33,7 +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 | .\" $OpenBSD: memchr.3,v 1.4 1999/09/21 16:44:01 espie Exp $ | 36 | .\" $OpenBSD: memchr.3,v 1.5 2000/04/21 15:24:19 aaron Exp $ |
37 | .\" | 37 | .\" |
38 | .Dd June 29, 1991 | 38 | .Dd June 29, 1991 |
39 | .Dt MEMCHR 3 | 39 | .Dt MEMCHR 3 |
@@ -48,18 +48,16 @@ | |||
48 | .Sh DESCRIPTION | 48 | .Sh DESCRIPTION |
49 | The | 49 | The |
50 | .Fn memchr | 50 | .Fn memchr |
51 | function | 51 | function locates the first occurrence of |
52 | locates the first occurrence of | ||
53 | .Fa c | 52 | .Fa c |
54 | (converted to an unsigned char) | 53 | (converted to an |
54 | .Li unsigned char ) | ||
55 | in string | 55 | in string |
56 | .Fa b . | 56 | .Fa b . |
57 | .Sh RETURN VALUES | 57 | .Sh RETURN VALUES |
58 | The | 58 | The |
59 | .Fn memchr | 59 | .Fn memchr |
60 | function | 60 | function returns a pointer to the byte located, or |
61 | returns a pointer to the byte located, | ||
62 | or | ||
63 | .Dv NULL | 61 | .Dv NULL |
64 | if no such byte exists within | 62 | if no such byte exists within |
65 | .Fa len | 63 | .Fa len |
@@ -76,6 +74,5 @@ bytes. | |||
76 | .Sh STANDARDS | 74 | .Sh STANDARDS |
77 | The | 75 | The |
78 | .Fn memchr | 76 | .Fn memchr |
79 | function | 77 | function conforms to |
80 | conforms to | ||
81 | .St -ansiC . | 78 | .St -ansiC . |