diff options
Diffstat (limited to 'include/gsmd/strl.h')
-rw-r--r-- | include/gsmd/strl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/gsmd/strl.h b/include/gsmd/strl.h new file mode 100644 index 0000000..de96ab4 --- /dev/null +++ b/include/gsmd/strl.h @@ -0,0 +1,12 @@ +#ifndef __GSMD_STRL_H +#define __GSMD_STRL_H + +#ifdef __GSMD__ + +/* safe strcpy and strcat versions */ +extern size_t strlcpy(char *dest, const char *src, size_t size); +extern size_t strlcat(char *dest, const char *src, size_t count); + +#endif /* __GSMD__ */ + +#endif |