#include <errno.h>
#include <limits.h>
#include <stdlib.h>
Go to the source code of this file.
Define Documentation
#define EXPECTED_ERRNO |
( |
|
Errno |
) |
|
Value:((Errno) == ENOTDIR || (Errno) == ENOENT \
|| (Errno) == EPERM || (Errno) == EACCES \
|| (Errno) == ENOSYS \
|| (Errno) == EOPNOTSUPP )
#define OPENAT_BUFFER_SIZE SAFER_ALLOCA (1024) |
#define SAFER_ALLOCA |
( |
|
m |
) |
((m) < SAFER_ALLOCA_MAX ? (m) : SAFER_ALLOCA_MAX) |
#define SAFER_ALLOCA_MAX (4096 - 64) |
Function Documentation
int at_func2 |
( |
int |
fd1, |
|
|
char const * |
file1, |
|
|
int |
fd2, |
|
|
char const * |
file2, |
|
|
int(*)(char const *file1, char const *file2) |
func | |
|
) |
| | |
char* openat_proc_name |
( |
char |
buf[OPENAT_BUFFER_SIZE], |
|
|
int |
fd, |
|
|
char const * |
file | |
|
) |
| | |