aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
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
939extern int bb_parse_mode(const char* s, mode_t* theMode); 939extern 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. */
941char *concat_path_file(const char *path, const char *filename); 945char *concat_path_file(const char *path, const char *filename);
942char *concat_subpath_file(const char *path, const char *filename); 946char *concat_subpath_file(const char *path, const char *filename);
943const char *bb_basename(const char *name); 947const char *bb_basename(const char *name);