IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 3 > remove man page

remove man page

Section 3 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


REMOVE(3)              FreeBSD Library Functions Manual              REMOVE(3)


NAME

     remove -- remove directory entry


LIBRARY

     Standard C Library (libc, -lc)


SYNOPSIS

     #include <stdio.h>

     int
     remove(const char *path);


DESCRIPTION

     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).


RETURN VALUES

     The remove() function returns the value 0 if successful; otherwise the
     value -1 is returned and the global variable errno is set to indicate the
     error.


ERRORS

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


SEE ALSO

     rmdir(2), unlink(2)


STANDARDS

     The remove() function conforms to ISO/IEC 9899:1990 (``ISO C90'') and
     X/Open Portability Guide Issue 4, Version 2 (``XPG4.2'').

FreeBSD 6.2                      June 4, 1993                      FreeBSD 6.2


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 20:14:06 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (5400 hits)
(FreeBSD 6.2)

sqlite3 man page (5399 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (4903 hits)
(Solaris 10 11_06)

CPAN man page (4638 hits)
(Suse Linux 10.1)

ssh man page (4358 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3025 hits)
(Solaris 10 11_06)

netcat man page (2831 hits)
(Suse Linux 10.1)

signal man page (2740 hits)
(Suse Linux 10.1)

pprosetup man page (2531 hits)
(Solaris 10 11_06)

startproc man page (2526 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Summer Activities :: SolidWorks 3D CAD :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum