Manual: Fix sizeof reference to strncpy config (#1016)
Because the configuration for strncpy contained sizeof by error, the example was no longer correct. Replaced with a reference to memccpy which uses sizeof.
This commit is contained in:
parent
3f36d4b5f4
commit
a6983dd279
|
@ -1281,7 +1281,7 @@ Checking minsize.c...
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>buffer size must be larger than other argument buffer
|
<para>buffer size must be larger than other argument buffer
|
||||||
size. Example: see strncpy configuration in std.cfg</para>
|
size. Example: see memccpy configuration in posix.cfg</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue