1 2 3 4 5 6 7 8 9 10 11
/* * static int * wrap_creat(const char *path, mode_t mode) { * int rc = -1; */ rc = wrap_openat(AT_FDCWD, path, O_CREAT|O_WRONLY|O_TRUNC, mode); /* return rc; * } */