remove(3s) DG/UX 4.30 remove(3s)
NAME
remove - remove a filename entry
SYNOPSIS
#include <stdio.h>
int remove(filename)
const char *filename;
DESCRIPTION
This function removes the file identified by the string
pointed to by filename. Any subsequent attempt to open the
file under that name will fail unless the file is created
anew. If a file is removed while one or more processes have
the file open, the removal is postponed until all references
to the file are closed.
DIAGNOSTIC
Remove returns zero if successful, otherwise nonzero.
SEE ALSO
unlink(2)
Licensed material--property of copyright holder(s) Page 1