glenda.party
term% ls -F
term% cat index.txt
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  con‐
       taining 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)