remove(2) plan9 man page | unix.com

Man Page: remove

Operating Environment: plan9

Section: 2

REMOVE(2)							System Calls Manual							 REMOVE(2)

NAME
remove - remove a file
SYNOPSIS
#include <u.h> #include <libc.h> int remove(char *file)
DESCRIPTION
Remove 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/9syscall
SEE ALSO
intro(2), remove(5)
DIAGNOSTICS
Sets errstr. REMOVE(2)
Related Man Pages
mu-remove(1) - debian
pegasus-remove(1) - debian
remove(3) - centos
remove(3) - xfree86
remove(3) - minix
Similar Topics in the Unix Linux Community
Cd
sed to remove
Want to remove the last characters from each row of csv using shell script
How to remove the last 3 lines from many files?
awk remove/grab lines from file with pattern from other file