diff options
Diffstat (limited to 'src/lib/libc/string/rindex.3')
| -rw-r--r-- | src/lib/libc/string/rindex.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/libc/string/rindex.3 b/src/lib/libc/string/rindex.3 index db7f8e1cd8..d4bcbbea54 100644 --- a/src/lib/libc/string/rindex.3 +++ b/src/lib/libc/string/rindex.3 | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 32 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 33 | .\" | 33 | .\" |
| 34 | .\" $OpenBSD: rindex.3,v 1.3 1997/12/30 01:09:49 deraadt Exp $ | 34 | .\" $OpenBSD: rindex.3,v 1.4 1999/06/29 18:01:33 aaron Exp $ |
| 35 | .\" | 35 | .\" |
| 36 | .Dd April 19, 1991 | 36 | .Dd April 19, 1991 |
| 37 | .Dt RINDEX 3 | 37 | .Dt RINDEX 3 |
| @@ -51,10 +51,12 @@ locates the last character | |||
| 51 | matching | 51 | matching |
| 52 | .Fa c | 52 | .Fa c |
| 53 | (converted to a | 53 | (converted to a |
| 54 | .Em char ) | 54 | .Li char ) |
| 55 | in the null-terminated string | 55 | in the null-terminated string |
| 56 | .Fa s . | 56 | .Fa s . |
| 57 | If the character c is found, a pointer to it is returned; otherwise NULL is returned. | 57 | If the character c is found, a pointer to it is returned; otherwise, |
| 58 | .Dv NULL | ||
| 59 | is returned. | ||
| 58 | If | 60 | If |
| 59 | .Fa c | 61 | .Fa c |
| 60 | is | 62 | is |
| @@ -76,5 +78,5 @@ locates the terminating | |||
| 76 | .Sh HISTORY | 78 | .Sh HISTORY |
| 77 | A | 79 | A |
| 78 | .Fn rindex | 80 | .Fn rindex |
| 79 | function appeared in | 81 | function appeared in |
| 80 | .At v6 . | 82 | .At v6 . |
