icon Top 9 categories map      RocketAware > man pages >


Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.

The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Search all pages


By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Integer, Floating point, Matrix, Statistics, Boolean, ...

Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...


RocketLink!--> Man page versions: OpenBSD FreeBSD RedHat Solaris Others

[ANSI C X3.159-1989]

REMOVE(3)                 OpenBSD Programmer's Manual                REMOVE(3)

     remove - remove a file or directory

     #include <stdio.h>

     remove(const char *path);

     The remove() function removes the file or directory specified by path.

     If path specifies a directory, remove(path) is the equivalent of
     rmdir(path).  Otherwise, it is the equivalent of unlink(path).

     Upon successful completion, remove() returns 0.  Otherwise, -1 is re-
     turned and the global variable errno is set to indicate the error.

     The remove() function may fail and set errno for any of the errors speci-
     fied for the routines rmdir(2) or unlink(2).

     rmdir(2),  unlink(2)

     The remove() function conforms to ANSI X3.159-1989 (``ANSI C'') and
     X/Open Portability Guide Issue 4.2 (``XPG4.2'').

OpenBSD 2.6                     October 7, 1997                              1

Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.

(Corrections, notes, and links courtesy of RocketAware.com)

[Detailed Topics]
FreeBSD Sources for remove(3) functions
OpenBSD sources for remove(3)

[Overview Topics]

Up to: File Access - Operations affecting a file as a whole. (delete files, rename, truncate, etc.)

RocketLink!--> Man page versions: OpenBSD FreeBSD RedHat Solaris Others

[ANSI C X3.159-1989]

Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > remove.3/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments