16 lines
246 B
C
16 lines
246 B
C
|
#ifndef UTILS_H_
|
||
|
#define UTILS_H_
|
||
|
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#ifndef strlcpy
|
||
|
size_t
|
||
|
strlcpy(char* __restrict dst, const char* __restrict src, size_t dsize);
|
||
|
#endif
|
||
|
#ifndef strlcat
|
||
|
size_t
|
||
|
strlcat(char* dst, const char* src, size_t siz);
|
||
|
#endif
|
||
|
|
||
|
#endif
|