Blob
1 .TH REMOVE 32 .SH NAME3 remove \- remove a file4 .SH SYNOPSIS5 .B #include <u.h>6 .br7 .B #include <libc.h>8 .PP9 .B10 int remove(char *file)11 .SH DESCRIPTION12 .I Remove13 removes14 .I file15 from the directory containing it and discards the contents of the file.16 The user must have write permission in the containing directory.17 If18 .I file19 is a directory, it must be empty.20 .SH SOURCE21 .B /usr/local/plan9/src/libc/9syscall22 .SH SEE ALSO23 .IR intro (3),24 .IR remove (5),25 the description of26 .B ORCLOSE27 in28 .IR open (3).29 .SH DIAGNOSTICS30 Sets31 .IR errstr .