summaryrefslogtreecommitdiff
path: root/include/gsmd/strl.h
blob: de96ab4960b13efcad70da13fbb52cb277917d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
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
personal git repositories of Harald Welte. Your mileage may vary