shithub: rgbds

ref: de32e245c973d23815c27e9fe3bb2c6a5d01140d
dir: /include/extern/strl.h/

View raw version
#ifndef EXTERN_STRL_H
#define EXTERN_STRL_H

#ifdef STRL_IN_LIBC

#include <string.h>

#else /* STRL_IN_LIBC */

#define strlcpy rgbds_strlcpy
#define strlcat rgbds_strlcat
size_t strlcpy(char *dst, const char *src, size_t dsize);
size_t strlcat(char *dst, const char *src, size_t dsize);

#endif /* STRL_IN_LIBC */

#endif /* EXTERN_STRL_H */