REMOVE(2)                                               REMOVE(2)

     NAME
          remove - remove a file

     SYNOPSIS
          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 direc-
          tory, it must be empty.

     SEE ALSO
          intro(2), remove(5)

     DIAGNOSTICS
          Sets errstr.

     Page 1                       Plan 9            (printed 12/21/24)