#include int creat(char const *path, mode_t mode) { return open(path, O_CREAT | O_WRONLY | O_TRUNC, mode); }