diff options
Diffstat (limited to 'include/libbb.h')
| -rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 6ce01ea94..baf0f29e5 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -939,6 +939,8 @@ int parse_pasv_epsv(char *buf) FAST_FUNC; | |||
| 939 | /* 0 if argv[0] is NULL: */ | 939 | /* 0 if argv[0] is NULL: */ |
| 940 | unsigned string_array_len(char **argv) FAST_FUNC; | 940 | unsigned string_array_len(char **argv) FAST_FUNC; |
| 941 | void overlapping_strcpy(char *dst, const char *src) FAST_FUNC; | 941 | void overlapping_strcpy(char *dst, const char *src) FAST_FUNC; |
| 942 | /* Like strncpy but make sure the resulting string is always 0 terminated: */ | ||
| 943 | /* writes SIZE chars, the [SIZE-1] char is always NUL (unless SIZE==0). */ | ||
| 942 | char *safe_strncpy(char *dst, const char *src, size_t size) FAST_FUNC; | 944 | char *safe_strncpy(char *dst, const char *src, size_t size) FAST_FUNC; |
| 943 | char *strncpy_IFNAMSIZ(char *dst, const char *src) FAST_FUNC; | 945 | char *strncpy_IFNAMSIZ(char *dst, const char *src) FAST_FUNC; |
| 944 | unsigned count_strstr(const char *str, const char *sub) FAST_FUNC; | 946 | unsigned count_strstr(const char *str, const char *sub) FAST_FUNC; |
