FD_MKDIR(3H) — Pixar Programmer’s Manual — libfd
NAME
fd_mkdir− make directory on fast-disk filesystem
SYNOPSIS
fd_mkdir(name, mode)
char ∗name;
int mode;
DESCRIPTION
Fd_mkdir creates a new Fast-Disk directory with the name name. The mode argument is presently unused and should be zero.
Directories can be removed with fd_unlink.
RETURN VALUE
The value 0 indicates success. If an error occurs, the value -1 is returned and an error code is returned in errno.
ERRORS
Fd_mkdir will fail under the following circumstances:
[ENOTDIR] A component of the path prefix is not a directory.
[ENOENT] A component of the path prefix does not exist.
[EEXIST] The name argument specifies an existing file or directory.
[ENOSPC] There is no space in the filesystem to accommodate the new directory.
[EROFS] Name resides in a read-only Fast-Disk filesystem.
[EIO] An I/O error occurred while making the directory or allocating space.
[ENOMEM] No memory was available in the user’s process to allocate various resources.
SEE ALSO
fd_directory(3H), fd_unlink(3H), fd(5)
Release β — Last change: 10/12/88