Page 1 of 1

remove(); function returns 0 (successful delete)

Posted: Mon Dec 04, 2006 10:44 am
by ragnarok2040
Heh, tripped on this when I tried to use the remove(); function in my project.
remove(); returns 0, in stdio.c, when a file is succesfully deleted, but since this function is an empty routine, shouldn't it always return -1 or something.