summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index b0312e5..dfcaa05 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -440,9 +440,8 @@ void *xmmap_anon(size_t size) FAST_FUNC;
# define cached_pagesize(var) (var)
#endif
-
-//TODO: supply a pointer to char[11] buffer (avoid statics)?
-extern char *bb_mode_string(char buf[12], mode_t mode) FAST_FUNC;
+/* Generate ls-style "mode string" like "-rwsr-xr-x" or "drwxrwxrwt" */
+extern char *bb_mode_string(char buf[11], mode_t mode) FAST_FUNC;
extern int is_directory(const char *name, int followLinks) FAST_FUNC;
enum { /* cp.c, mv.c, install.c depend on these values. CAREFUL when changing them! */
FILEUTILS_PRESERVE_STATUS = 1 << 0, /* -p */