mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Move a sentence about the terminating \0 from the RETURN VALUES section
(where it didn't really belong), to the DESCRIPTION section. English advice: ceri Requested by: das MFC after: 4 weeks
This commit is contained in:
parent
f1c194401c
commit
4bbf46d65c
2 changed files with 14 additions and 14 deletions
|
|
@ -58,7 +58,13 @@ 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.
|
||||
The terminating null character is considered part of the string;
|
||||
therefore if
|
||||
.Fa c
|
||||
is
|
||||
.Ql \e0 ,
|
||||
the functions locate the terminating
|
||||
.Ql \e0 .
|
||||
.Pp
|
||||
The
|
||||
.Fn rindex
|
||||
|
|
@ -74,12 +80,6 @@ and
|
|||
return a pointer to the located character, or
|
||||
.Dv NULL
|
||||
if the character does not appear in the string.
|
||||
If
|
||||
.Fa c
|
||||
is
|
||||
.Ql \e0 ,
|
||||
the functions locate the terminating
|
||||
.Ql \e0 .
|
||||
.Sh SEE ALSO
|
||||
.Xr memchr 3 ,
|
||||
.Xr strchr 3 ,
|
||||
|
|
|
|||
|
|
@ -59,7 +59,13 @@ function 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.
|
||||
The terminating null character is considered part of the string;
|
||||
therefore if
|
||||
.Fa c
|
||||
is
|
||||
.Ql \e0 ,
|
||||
the functions locate the terminating
|
||||
.Ql \e0 .
|
||||
.Pp
|
||||
The
|
||||
.Fn strrchr
|
||||
|
|
@ -75,12 +81,6 @@ and
|
|||
return a pointer to the located character, or
|
||||
.Dv NULL
|
||||
if the character does not appear in the string.
|
||||
If
|
||||
.Fa c
|
||||
is
|
||||
.Ql \e0 ,
|
||||
the functions locate the terminating
|
||||
.Ql \e0 .
|
||||
.Sh SEE ALSO
|
||||
.Xr memchr 3 ,
|
||||
.Xr strcspn 3 ,
|
||||
|
|
|
|||
Loading…
Reference in a new issue