Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rmdir(2)

unlink(2)

remove(3C)

NAME

remove() − remove a file

SYNOPSIS

#include <stdio.h>

int remove(const char *path);

DESCRIPTION

remove() removes the file named by path. If path does not name a directory, remove(path) is equivalent to unlink(path).  If path names a directory, remove(path) is equivalent to rmdir(path). 

SEE ALSO

rmdir(2), unlink(2). 

STANDARDS CONFORMANCE

remove(): AES, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026