home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat3
/
remove.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
REMOVE(3) UNIX Programmer's Manual REMOVE(3)
NNAAMMEE
rreemmoovvee - remove directory entry
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttddiioo..hh>>
_i_n_t
rreemmoovvee(_c_o_n_s_t _c_h_a_r _*_p_a_t_h)
DDEESSCCRRIIPPTTIIOONN
The rreemmoovvee() function is an alias for the unlink(2) system call. It
deletes the file referenced by _p_a_t_h.
RREETTUURRNN VVAALLUUEESS
Upon successful completion, rreemmoovvee() returns 0. Otherwise, -1 is re
turned and the global variable _e_r_r_n_o is set to indicate the error.
EERRRROORRSS
The rreemmoovvee() function may fail and set _e_r_r_n_o for any of the errors speci
fied for the routine unlink(2).
SSEEEE AALLSSOO
unlink(2)
SSTTAANNDDAARRDDSS
The rreemmoovvee() function conforms to ANSI C3.1591989 (``ANSI C'').
BSD Experimental June 29, 1991 1