Exemple #1
0
int maillock_write_lock(const char * filename, int fd)
{
  return lock_common(filename, fd, F_WRLCK);
}
Exemple #2
0
static PyObject *ncOpUnlock(ncSessionObject *self, PyObject *args, PyObject *keywords)
{
	return (lock_common(self, args, keywords, nc_rpc_unlock));
}
Exemple #3
0
int maillock_read_lock(const char * filename, int fd)
{
  return lock_common(filename, fd, F_RDLCK);
}