sdf/index.html
sdf:index.html
#include <unistd.h> #include <fcntl.h> #include <stdio.h> int main() { int fd = creat("foo/bar", 1); if (fd == -1) { printf("error\n"); } else { close(fd); } return 0; }