Last active
August 29, 2015 14:20
-
-
Save shichao-an/84b85f42bf03c30fa75b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fcntl.h> | |
int open(const char *path, int oflag, ... /* mode_t mode */ ); | |
int openat(int fd, const char *path, int oflag, ... /* mode_t mode */ ); | |
/* Both return: file descriptor if OK, −1 on error */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment