From 5a221e6b84e9eab02e24ca541530e28eb7cfddac Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Mon, 22 Apr 2013 22:29:43 +0200 Subject: Add library function for the file permission formatting in ls and stat --- lib/lib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index ab858f90..a4da031c 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -178,6 +178,7 @@ int sig_to_num(char *pidstr); char *num_to_sig(int sig); mode_t string_to_mode(char *mode_str, mode_t base); +void format_mode(char (*buf)[11], mode_t mode); // password helper functions int read_password(char * buff, int buflen, char* mesg); -- cgit v1.2.3