remove


Description:

[ Version ( since = "2.6" ) ]
[ CCode ( cname = "g_rmdir" ) ]
public int remove (string filename)

A wrapper for the POSIX rmdir function.

The rmdir function deletes a directory from the filesystem.

See your C library manual for more details about how rmdir works on your system.

Parameters:

filename

a pathname in the GLib file name encoding (UTF-8 on Windows)

Returns:

0 if the directory was successfully removed, -1 if an error occurred


Namespace: GLib.DirUtils
Package: glib-2.0