Query: remove
OS: plan9
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
REMOVE(2) System Calls Manual REMOVE(2)NAMEremove - remove a fileSYNOPSIS#include <u.h> #include <libc.h> int remove(char *file)DESCRIPTIONRemove removes file from the directory containing it and discards the contents of the file. The user must have write permission in the containing directory. If file is a directory, it must be empty.SOURCE/sys/src/libc/9syscallSEE ALSOintro(2), remove(5)DIAGNOSTICSSets errstr. REMOVE(2)