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

NNAAMMEE
     rreemmoovvee - remove directory entry

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttddiioo..hh>>

     _i_n_t
     rreemmoovvee(_c_o_n_s_t _c_h_a_r _*_p_a_t_h)

DDEESSCCRRIIPPTTIIOONN
     The rreemmoovvee() function is an alias for the unlink(2) system call.  It
     deletes the file referenced by _p_a_t_h.

RREETTUURRNN VVAALLUUEESS
     Upon successful completion, rreemmoovvee() returns 0.  Otherwise, -1 is re-
     turned and the global variable _e_r_r_n_o is set to indicate the error.

EERRRROORRSS
     The rreemmoovvee() function may fail and set _e_r_r_n_o for any of the errors speci-
     fied for the routine unlink(2).

SSEEEE AALLSSOO
     unlink(2)

SSTTAANNDDAARRDDSS
     The rreemmoovvee() function conforms to ANSI C3.159-1989 (``ANSI C'').

BSD Experimental                 June 29, 1991                               1



































