github.com/afumu/libc@v0.0.6/musl/src/process/fdop.h (about)

     1  #define FDOP_CLOSE 1
     2  #define FDOP_DUP2 2
     3  #define FDOP_OPEN 3
     4  #define FDOP_CHDIR 4
     5  #define FDOP_FCHDIR 5
     6  
     7  struct fdop {
     8  	struct fdop *next, *prev;
     9  	int cmd, fd, srcfd, oflag;
    10  	mode_t mode;
    11  	char path[];
    12  };