diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index dfcc96d5b..281152f5f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -938,6 +938,10 @@ int bb_ask_confirmation(void); | |||
| 938 | 938 | ||
| 939 | extern int bb_parse_mode(const char* s, mode_t* theMode); | 939 | extern int bb_parse_mode(const char* s, mode_t* theMode); |
| 940 | 940 | ||
| 941 | /* Concatenate path and filename to new allocated buffer. | ||
| 942 | * Add "/" only as needed (no duplicate "//" are produced). | ||
| 943 | * If path is NULL, it is assumed to be "/". | ||
| 944 | * filename should not be NULL. */ | ||
| 941 | char *concat_path_file(const char *path, const char *filename); | 945 | char *concat_path_file(const char *path, const char *filename); |
| 942 | char *concat_subpath_file(const char *path, const char *filename); | 946 | char *concat_subpath_file(const char *path, const char *filename); |
| 943 | const char *bb_basename(const char *name); | 947 | const char *bb_basename(const char *name); |
