9.41 mkdir

int mkdir(int dir_fd, const char *path, int path_len, int mode);

This syscall creates directories in the passed path.

The syscall returns 0 or -1 on failure, with the following errno: