Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JoachimSchipper
· 12y ago · 0 comments
Ouchies. On the narrow subject of strncpy(): strlcpy() and friends are the "correct" API, IMHO, and it's easy enough to copy-paste them from e.g. the OpenBSD code.
Comments
[–]
fayyazkl
12y ago
Oh, so you mean the openbsd version doesn't suffer from these issues / features? :) I would definitely like to take a look. Thanks