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
|
||||
specified.</para>
|
||||
|
||||
<para>In OpenBSD, another memory copy implementation has been
|
||||
|
||||
<indexterm><primary>OpenBSD</primary></indexterm>
|
||||
|
||||
created to get around these problem. The
|
||||
<para>Another memory copy implementation exists
|
||||
to get around these problems. The
|
||||
<function>strlcpy</function> and <function>strlcat</function>
|
||||
functions guarantee that they will always null terminate the
|
||||
destination string when given a non-zero length argument. For
|
||||
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>
|
||||
destination string when given a non-zero length argument.</para>
|
||||
|
||||
<indexterm>
|
||||
<primary>string copy functions</primary>
|
||||
|
|
Loading…
Reference in a new issue