copy from intranet.
This commit is contained in:
12
lib/strlcpy.h
Normal file
12
lib/strlcpy.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _STRLCPY_H_
|
||||
#define _STRLCPY_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
size_t
|
||||
strlcpy(char *dst, const char *src, size_t size);
|
||||
|
||||
size_t
|
||||
strlcat(char *dst, const char *src, size_t size);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user