filemode.h 352 Bytes
Newer Older
Niels Möller's avatar
Niels Möller committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef PARAMS
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
#  define PARAMS(Args) Args
# else
#  define PARAMS(Args) ()
# endif
#endif

#include <sys/types.h>
#include <sys/stat.h>

#define MODE_STRING_LENGTH 10
void mode_string PARAMS ((short unsigned int mode, char *str));
void filemodestring PARAMS ((struct stat *statp, char *str));