#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> int main() { printf("%x\n", O_RDONLY); printf("%x\n", O_WRONLY); printf("%x\n", O_DIRECTORY); printf("%x\n", O_NOFOLLOW); return 0; }