- strlcpy and strlcat for systems that do not have it

This commit is contained in:
zolliker
2012-08-21 06:50:49 +00:00
parent c2353b25de
commit 392c6fb53c

18
strlutil.h Normal file
View File

@ -0,0 +1,18 @@
/*
* strlutil.h
* Provide strcpy, strlcat when not provided by ssystem
*
* Created on: Mar 25, 2010
* Author: koennecke
*/
#ifndef STRLUTIL_H_
#define STRLUTIL_H_
#ifndef strlcpy
size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);
#endif
#endif /* STRLUTIL_H_ */