diff options
Diffstat (limited to 'src/lib/libc/string/strpbrk.3')
| -rw-r--r-- | src/lib/libc/string/strpbrk.3 | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/lib/libc/string/strpbrk.3 b/src/lib/libc/string/strpbrk.3 index 8578546c05..9d6c676c8d 100644 --- a/src/lib/libc/string/strpbrk.3 +++ b/src/lib/libc/string/strpbrk.3 | |||
| @@ -13,11 +13,7 @@ | |||
| 13 | .\" 2. Redistributions in binary form must reproduce the above copyright | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| 14 | .\" notice, this list of conditions and the following disclaimer in the | 14 | .\" notice, this list of conditions and the following disclaimer in the |
| 15 | .\" documentation and/or other materials provided with the distribution. | 15 | .\" documentation and/or other materials provided with the distribution. |
| 16 | .\" 3. All advertising materials mentioning features or use of this software | 16 | .\" 3. Neither the name of the University nor the names of its contributors |
| 17 | .\" must display the following acknowledgement: | ||
| 18 | .\" This product includes software developed by the University of | ||
| 19 | .\" California, Berkeley and its contributors. | ||
| 20 | .\" 4. Neither the name of the University nor the names of its contributors | ||
| 21 | .\" may be used to endorse or promote products derived from this software | 17 | .\" may be used to endorse or promote products derived from this software |
| 22 | .\" without specific prior written permission. | 18 | .\" without specific prior written permission. |
| 23 | .\" | 19 | .\" |
| @@ -33,10 +29,9 @@ | |||
| 33 | .\" 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 |
| 34 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 35 | .\" | 31 | .\" |
| 36 | .\" from: @(#)strpbrk.3 5.4 (Berkeley) 6/29/91 | 32 | .\" $OpenBSD: strpbrk.3,v 1.8 2007/05/31 19:19:32 jmc Exp $ |
| 37 | .\" $Id: strpbrk.3,v 1.1.1.1 1995/10/18 08:42:23 deraadt Exp $ | ||
| 38 | .\" | 33 | .\" |
| 39 | .Dd June 29, 1991 | 34 | .Dd $Mdocdate: May 31 2007 $ |
| 40 | .Dt STRPBRK 3 | 35 | .Dt STRPBRK 3 |
| 41 | .Os | 36 | .Os |
| 42 | .Sh NAME | 37 | .Sh NAME |
| @@ -49,8 +44,7 @@ | |||
| 49 | .Sh DESCRIPTION | 44 | .Sh DESCRIPTION |
| 50 | The | 45 | The |
| 51 | .Fn strpbrk | 46 | .Fn strpbrk |
| 52 | function | 47 | function locates in the NUL-terminated string |
| 53 | locates in the null-terminated string | ||
| 54 | .Fa s | 48 | .Fa s |
| 55 | the first occurrence of any character in the string | 49 | the first occurrence of any character in the string |
| 56 | .Fa charset | 50 | .Fa charset |
| @@ -58,13 +52,12 @@ and returns a pointer to this character. | |||
| 58 | If no characters from | 52 | If no characters from |
| 59 | .Fa charset | 53 | .Fa charset |
| 60 | occur anywhere in | 54 | occur anywhere in |
| 61 | .Fa s | 55 | .Fa s , |
| 62 | .Fn strpbrk | 56 | .Fn strpbrk |
| 63 | returns NULL. | 57 | returns |
| 58 | .Dv NULL . | ||
| 64 | .Sh SEE ALSO | 59 | .Sh SEE ALSO |
| 65 | .Xr index 3 , | ||
| 66 | .Xr memchr 3 , | 60 | .Xr memchr 3 , |
| 67 | .Xr rindex 3 , | ||
| 68 | .Xr strchr 3 , | 61 | .Xr strchr 3 , |
| 69 | .Xr strcspn 3 , | 62 | .Xr strcspn 3 , |
| 70 | .Xr strrchr 3 , | 63 | .Xr strrchr 3 , |
| @@ -75,6 +68,5 @@ returns NULL. | |||
| 75 | .Sh STANDARDS | 68 | .Sh STANDARDS |
| 76 | The | 69 | The |
| 77 | .Fn strpbrk | 70 | .Fn strpbrk |
| 78 | function | 71 | function conforms to |
| 79 | conforms to | ||
| 80 | .St -ansiC . | 72 | .St -ansiC . |
