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. :)
