|
|
Subscribe / Log in / New account

Adding strlcpy() to glibc

Adding strlcpy() to glibc

Posted Sep 24, 2014 21:11 UTC (Wed) by Mo6eB (guest, #99013)
In reply to: Adding strlcpy() to glibc by ncm
Parent article: Adding strlcpy() to glibc

Do I understand right that this is basically

bool arraycopy(void* dst, size_t dstsize, size_t dstoffset,
               void* src, size_t srcsize,
               size_t* endoffset)
with the dstoffset arg moved to the end and an implicit padding with a 0 byte?

Because yeah, that function is hella useful :) .


to post comments


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