[Insert name here] Reference Manual | ||||
---|---|---|---|---|
#define GAN_LOCK_FILE_ERROR GQuark gan_lock_file_error_quark (); enum GanLockFileError; GanLockFileError gan_lock_file_error_from_errno (gint en); gboolean gan_lock_file_create (const gchar *pathname, GError **error); gboolean gan_lock_file_destroy (const gchar *pathname, GError **error);
typedef enum { GAN_LOCK_FILE_ERROR_NOPERMISSION = 1, GAN_LOCK_FILE_ERROR_NORESOURCES, GAN_LOCK_FILE_ERROR_LOOP, GAN_LOCK_FILE_ERROR_NOENT, GAN_LOCK_FILE_ERROR_NOTDIR, GAN_LOCK_FILE_ERROR_ROFS, GAN_LOCK_FILE_ERROR_TIMEDOUT, GAN_LOCK_FILE_ERROR_FAILED } GanLockFileError;
GanLockFileError gan_lock_file_error_from_errno (gint en);
en : |
|
Returns : |
gboolean gan_lock_file_create (const gchar *pathname, GError **error);
pathname : |
|
error : |
|
Returns : |