remove(); function returns 0 (successful delete)
Posted: Mon Dec 04, 2006 10:44 am
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.
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.