gan-lock-file

gan-lock-file —

Synopsis




#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);

Description

Details

GAN_LOCK_FILE_ERROR

#define GAN_LOCK_FILE_ERROR (gan_lock_file_error_quark())


gan_lock_file_error_quark ()

GQuark      gan_lock_file_error_quark       ();

Returns :

enum GanLockFileError

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;


gan_lock_file_error_from_errno ()

GanLockFileError gan_lock_file_error_from_errno
                                            (gint en);

en :
Returns :

gan_lock_file_create ()

gboolean    gan_lock_file_create            (const gchar *pathname,
                                             GError **error);

pathname :
error :
Returns :

gan_lock_file_destroy ()

gboolean    gan_lock_file_destroy           (const gchar *pathname,
                                             GError **error);

pathname :
error :
Returns :