mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
311 B
17 lines
311 B
#define FDOP_CLOSE 1
|
|
#define FDOP_DUP2 2
|
|
#define FDOP_OPEN 3
|
|
#define FDOP_CHDIR 4
|
|
#define FDOP_FCHDIR 5
|
|
|
|
struct fdop {
|
|
struct fdop *next, *prev;
|
|
int cmd, fd, srcfd, oflag;
|
|
mode_t mode;
|
|
char path[];
|
|
};
|
|
|
|
#define malloc __libc_malloc
|
|
#define calloc __libc_calloc
|
|
#define realloc undef
|
|
#define free __libc_free
|
|
|