FD_UNLINK(3H) — Pixar Programmer’s Manual — libfd
NAME
fd_unlink− remove directory entry from fast-disk filesystem
SYNOPSIS
fd_unlink(path)
char ∗path;
DESCRIPTION
Path specifies a file or empty directory in the Fast-Disk filesystem. Fd_unlink removes the entry for path from its parent directory. All disk resources associated with the removed file or directory are reclaimed.
RETURN VALUE
Upon successful completion, a value of 0 is returned. Otherwise, a value of −1 is returned and errno is set to indicate the error.
ERRORS
[ENOTDIR] A component of the path prefix is not a directory.
[ENOENT] The named file does not exist.
[ENOTEMPTY]
Path specifies a directory that is not empty.
[EROFS] Path specifies a file on a read-only Fast-Disk filesystem.
[EPERM] Path specifies the root directory of a Fast-Disk filesystem.
[EIO] An I/O error occurred while deleting the directory entry.
[ENOMEM] No memory was available in the user’s process to allocate various resources.
SEE ALSO
Release β — Last change: 10/12/88