HP-UX Reference (11i v2 03/08) - 3 Library Functions N-Z (vol 7)
r
remove(3C) remove(3C)
NAME
remove( ) - remove a file
SYNOPSIS
#include <stdio.h>
int remove(const char *path);
DESCRIPTION
remove() removes the file named by path.Ifpath 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), thread_safety(5).
STANDARDS CONFORMANCE
remove(): AES, SVID3, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
HP-UX 11i Version 2: August 2003 − 1 − Hewlett-Packard Company Section 3−−857