int remove(const char path);
remove causes the file or
empty directory whose name is the string pointed
to by path to be no longer accessible by that name.
A subsequent attempt to open that file using that name will fail,
unless the file is created anew.
For files, remove is identical to
unlink. For directories,
remove is identical to rmdir.
for a detailed list of failure conditions.
Upon successful completion, remove
returns a value of 0; otherwise, it returns a value of
-1 and sets errno to indicate an error.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004