fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
lock.c File Reference

locking of resources More...

#include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include <fcntl.h>
#include "lock.h"
Include dependency graph for lock.c:

Go to the source code of this file.

Functions

int lock_ex (int fd)
 
int lock_exnb (int fd)
 
int lock_un (int fd)
 

Detailed Description

locking of resources

Author
djb qmail

Definition in file lock.c.

Function Documentation

◆ lock_ex()

int lock_ex ( int  fd)

Definition at line 19 of file lock.c.

◆ lock_exnb()

int lock_exnb ( int  fd)

Definition at line 20 of file lock.c.

◆ lock_un()

int lock_un ( int  fd)

Definition at line 21 of file lock.c.