Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#include <fcntl.h>
int creat(const char *path, mode_t mode);
/* Returns: file descriptor opened for write-only if OK, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment