Don't make it seem like FreeSBD lacks these interfaces when first
reading the sentence.
This commit is contained in:
parent
0cd36ffb6b
commit
4825e46e77
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45176
1 changed files with 3 additions and 9 deletions
|
@ -217,17 +217,11 @@ int main() {
|
||||||
<function>strncpy</function> NUL fills up the size
|
<function>strncpy</function> NUL fills up the size
|
||||||
specified.</para>
|
specified.</para>
|
||||||
|
|
||||||
<para>In OpenBSD, another memory copy implementation has been
|
<para>Another memory copy implementation exists
|
||||||
|
to get around these problems. The
|
||||||
<indexterm><primary>OpenBSD</primary></indexterm>
|
|
||||||
|
|
||||||
created to get around these problem. The
|
|
||||||
<function>strlcpy</function> and <function>strlcat</function>
|
<function>strlcpy</function> and <function>strlcat</function>
|
||||||
functions guarantee that they will always null terminate the
|
functions guarantee that they will always null terminate the
|
||||||
destination string when given a non-zero length argument. For
|
destination string when given a non-zero length argument.</para>
|
||||||
more information about these functions see <xref linkend="OpenBSD"/>. The OpenBSD <function>strlcpy</function> and
|
|
||||||
<function>strlcat</function> instructions have been in FreeBSD
|
|
||||||
since 3.3.</para>
|
|
||||||
|
|
||||||
<indexterm>
|
<indexterm>
|
||||||
<primary>string copy functions</primary>
|
<primary>string copy functions</primary>
|
||||||
|
|
Loading…
Reference in a new issue