int g_unlink ( const gchar* filename )
A wrapper for the POSIX
unlink() function. The
deletes a name from the filesystem. If this was the last link to the
file and no processes have it opened, the diskspace occupied by the
file is freed.
See your C library manual for more details about
that on Windows, it is in general not possible to delete files that
are open to some process, or mapped into memory.
A pathname in the GLib file name encoding (UTF-8 on Windows)
|The data is owned by the caller of the function.|
|The string is a file system path, using the OS encoding.|