copy from intranet.

This commit is contained in:
lijia
2019-07-10 17:54:02 +08:00
commit f36a4fca25
353 changed files with 130721 additions and 0 deletions

12
lib/strlcpy.h Normal file
View 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