|
Defines
|
#define |
G_FILE_ERROR g_file_error_quark ()
|
Enumerations
|
enum |
GFileError {
G_FILE_ERROR_EXIST,
G_FILE_ERROR_ISDIR,
G_FILE_ERROR_ACCES,
G_FILE_ERROR_NAMETOOLONG,
G_FILE_ERROR_NOENT,
G_FILE_ERROR_NOTDIR,
G_FILE_ERROR_NXIO,
G_FILE_ERROR_NODEV,
G_FILE_ERROR_ROFS,
G_FILE_ERROR_TXTBSY,
G_FILE_ERROR_FAULT,
G_FILE_ERROR_LOOP,
G_FILE_ERROR_NOSPC,
G_FILE_ERROR_NOMEM,
G_FILE_ERROR_MFILE,
G_FILE_ERROR_NFILE,
G_FILE_ERROR_BADF,
G_FILE_ERROR_INVAL,
G_FILE_ERROR_PIPE,
G_FILE_ERROR_AGAIN,
G_FILE_ERROR_INTR,
G_FILE_ERROR_IO,
G_FILE_ERROR_PERM,
G_FILE_ERROR_NOSYS,
G_FILE_ERROR_FAILED
}
|
enum |
GFileTest {
G_FILE_TEST_IS_REGULAR = 1 << 0,
G_FILE_TEST_IS_SYMLINK = 1 << 1,
G_FILE_TEST_IS_DIR = 1 << 2,
G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
G_FILE_TEST_EXISTS = 1 << 4
}
|
Functions
|
IMPORT_C GQuark
|
g_file_error_quark (void)
|
IMPORT_C GFileError
|
g_file_error_from_errno (gint err_no)
|
IMPORT_C gboolean
|
g_file_test (const gchar *filename, GFileTest test)
|
IMPORT_C gboolean
|
g_file_get_contents (const gchar *filename, gchar **contents, gsize *length, GError **error)
|
IMPORT_C gboolean
|
g_file_set_contents (const gchar *filename, const gchar *contents, gssize length, GError **error)
|
IMPORT_C gchar *
|
g_file_read_link (const gchar *filename, GError **error)
|
IMPORT_C gint
|
g_mkstemp (gchar *tmpl)
|
IMPORT_C gint
|
g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error)
|
IMPORT_C gchar *
|
g_build_path (const gchar *separator, const gchar *first_element,...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED
|
IMPORT_C gchar *
|
g_build_pathv (const gchar *separator, gchar **args) G_GNUC_MALLOC |
IMPORT_C gchar *
|
g_build_filename (const gchar *first_element,...) G_GNUC_MALLOC G_GNUC_NULL_TERMINATED
|
IMPORT_C gchar *
|
g_build_filenamev (gchar **args) G_GNUC_MALLOC |
IMPORT_C int |
g_mkdir_with_parents (const gchar *pathname, int mode)
|