plan9 man page for remove

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)

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
remove(3) - linux
blaze-remove(1) - debian
errstr(2) - plan9
remove(3) - suse
remove(3) - minix
Similar Topics in the Unix Linux Community
Copy all the files with time stamp and remove header,trailer from file
remove files other than selected
Unix Remove repetitive alphabets
Want to remove all lines but not latest 50 lines from a file
awk remove/grab lines from file with pattern from other file