|
|
Log in / Subscribe / Register

memccpy()

memccpy()

Posted Aug 26, 2022 10:43 UTC (Fri) by bluss (guest, #47454)
In reply to: memccpy() by joib
Parent article: Ushering out strlcpy()

And the nice documentation here says "To avoid the risk of buffer overflow" and produces an example that uses the returned pointer p without checking if p was NULL, which is may reasonably be. :)


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds