file_unlink( <file> )


Module: Utils

Summary:

Deletes a file from the file system. Returns 0 on success or -1 as error.



Example:

unlinked = file_unlink( "/home/server/mod/gob_aim.iwd" );



Required Args:

  • 1 : <file> the path to the file