#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "my_inttypes.h"
Go to the source code of this file.
◆ MY_DONT_SORT
| #define MY_DONT_SORT 512 /* my_lib; Don't sort files */ |
◆ MY_S_IEXEC
| #define MY_S_IEXEC S_IEXEC /* execute/search permission, owner */ |
◆ MY_S_IFBLK
| #define MY_S_IFBLK S_IFBLK /* block special */ |
◆ MY_S_IFCHR
| #define MY_S_IFCHR S_IFCHR /* character special */ |
◆ MY_S_IFDIR
| #define MY_S_IFDIR S_IFDIR /* directory */ |
◆ MY_S_IFIFO
| #define MY_S_IFIFO S_IFIFO /* fifo */ |
◆ MY_S_IFMT
| #define MY_S_IFMT S_IFMT /* type of file */ |
◆ MY_S_IFREG
| #define MY_S_IFREG S_IFREG /* regular */ |
◆ MY_S_IREAD
| #define MY_S_IREAD S_IREAD /* read permission, owner */ |
◆ MY_S_ISBLK
◆ MY_S_ISCHR
◆ MY_S_ISDIR
◆ MY_S_ISFIFO
◆ MY_S_ISGID
| #define MY_S_ISGID S_ISGID /* set group id on execution */ |
◆ MY_S_ISREG
◆ MY_S_ISUID
| #define MY_S_ISUID S_ISUID /* set user id on execution */ |
◆ MY_S_ISVTX
| #define MY_S_ISVTX S_ISVTX /* save swapped text even after use */ |
◆ MY_S_IWRITE
| #define MY_S_IWRITE S_IWRITE /* write permission, owner */ |
◆ MY_STAT
| #define MY_STAT struct stat /* Original struct have what we need */ |
◆ MY_WANT_STAT
| #define MY_WANT_STAT 1024 /* my_lib; stat files */ |
◆ FILEINFO
◆ my_dir()
| MY_DIR * my_dir |
( |
const char * |
path, |
|
|
myf |
MyFlags |
|
) |
| |
◆ my_dirend()
| void my_dirend |
( |
MY_DIR * |
buffer | ) |
|
◆ my_fstat()
| int my_fstat |
( |
int |
filenr, |
|
|
MY_STAT * |
stat_area |
|
) |
| |
◆ my_stat()