|
NAMEfirestring_strncpy - strncpy(3) with slightly saner semanticsSYNOPSIS#include <firestring.h>-lfirestring void firestring_strncpy(char * const to, const char * const from, const size_t size) DESCRIPTIONfirestring_strncpy() acts like strncpy(3) except that to will always contain a trailing nil, even if the function runs out of space.RETURN VALUEAlways succeeds.AUTHORIan Gulliver <ian@penguinhosting.net>SEE ALSOlibfirestring(3)
Visit the GSP FreeBSD Man Page Interface. |