LWN.net Logo

The ups and downs of strlcpy()

The ups and downs of strlcpy()

Posted Jul 19, 2012 22:04 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: The ups and downs of strlcpy() by nix
Parent article: The ups and downs of strlcpy()

>Furthermore, all three of these functions can be expanded inline in some situations by GCC, without calling down to glibc at all
Quite often that actually _hurts_ the performance, because glibc versions are so über-optimized.


(Log in to post comments)

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