HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
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).
APPLICATION USAGE
remove() is thread-safe. It is not async-cancel-safe. A cancellation point may occur when a thread is
executing remove().
SEE ALSO
rmdir(2), unlink(2).
STANDARDS CONFORMANCE
remove(): AES, SVID3, XPG3, XPG4, FIPS 151-2, POSIX.1, ANSI C
Section 3764 1 HP-UX Release 11i: December 2000
___
___