remove(); function returns 0 (successful delete)

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
ragnarok2040
Posts: 202
Joined: Wed Aug 09, 2006 1:00 am

remove(); function returns 0 (successful delete)

Post 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.
Post Reply