Node:Locker, Next:, Previous:Address, Up:libmailbox



Locker


/* Prefix locker_ is reserved */
#include <mailutils/locker.h>

int locker_create (locker_t * plocker, char *filename, size_t len, int flags) Function

void locker_destroy (locker_t * plocker) Function

int locker_lock (locker_t locker, int flag) Function
MU_LOCKER_RDLOCK
MU_LOCKER_WRLOCK
MU_LOCKER_PID
MU_LOCKER_FCNTL
MU_LOCKER_TIME

int locker_touchlock (locker_t locker) Function

int locker_unlock (locker_t locker) Function