Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ remove(3C) — svr4 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rmdir(2)

unlink(2)



REMOVE(3C-SVR4)     RISC/os Reference Manual      REMOVE(3C-SVR4)



NAME
     remove - remove file

SYNOPSIS
     #include <stdio.h>

     int remove(const char *path);

DESCRIPTION
     remove causes the file or empty directory whose name is the
     string pointed to by path to be no longer accessible by that
     name.  A subsequent attempt to open that file using that
     name will fail, unless the file is created anew.

     For files, remove is identical to unlink. For directories,
     remove is identical to rmdir.

     See rmdir(2) and unlink(2) for a detailed list of failure
     conditions.

SEE ALSO
     rmdir(2), unlink(2).

RETURN VALUE
     Upon successful completion, remove returns a value of 0;
     otherwise, it returns a value of -1 and sets errno to indi-
     cate an error.




























                        Printed 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026