X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/3d9156a7a519a5e3aa1b92e9d9d4b991f1aed7ff..15de9d6b4ab2de27ae24b13b7b6c4d55fffe4aef:/string/FreeBSD/index.3?ds=sidebyside diff --git a/string/FreeBSD/index.3 b/string/FreeBSD/index.3 index c47e964..ecbbb63 100644 --- a/string/FreeBSD/index.3 +++ b/string/FreeBSD/index.3 @@ -11,10 +11,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. @@ -32,7 +28,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)index.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/string/index.3,v 1.11 2003/09/08 19:57:15 ru Exp $ +.\" $FreeBSD: src/lib/libc/string/index.3,v 1.12 2007/01/09 00:28:12 imp Exp $ .\" .Dd June 4, 1993 .Dt INDEX 3 @@ -58,8 +54,8 @@ locates the first occurrence of .Vt char ) in the string pointed to by .Fa s . -The terminating null character is considered part of the string; -therefore if +The terminating null character is considered to be part of the string; +therefore, if .Fa c is .Ql \e0 , @@ -70,7 +66,7 @@ The .Fn rindex function is identical to .Fn index , -except it locates the last occurrence of +except that it locates the last occurrence of .Fa c . .Sh RETURN VALUES The functions