#include #include int main(int argc, char * argv) { printf("O_RDONLY 0x%x\n", O_RDONLY); printf("O_WRONLY 0x%x\n", O_WRONLY); printf("O_RDWR 0x%x\n", O_RDWR); printf("O_APPEND 0x%x\n", O_APPEND); printf("O_CREAT 0x%x\n", O_CREAT); printf("O_EXCL 0x%x\n", O_EXCL); printf("O_TRUNC 0x%x\n", O_TRUNC); return 0; }