Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

dsLock.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

Go to the source code of this file.


#define F_AUTOLCK   512


int dsLock (int fd, int what, int mode=F_AUTOLCK)
int dsLock (FILE *f, int what, int mode=F_AUTOLCK)
void dsUnLock (int fd)
void dsUnLock (FILE *f)

Define Documentation

#define F_AUTOLCK   512

Function Documentation

int dsLock FILE *    f,
int    what,
int    mode = F_AUTOLCK

int dsLock int    fd,
int    what,
int    mode = F_AUTOLCK

Interface to fcntl(2) lock function see: fcntl(2) what : F_SETLK F_SETLKW, F_GETLK mode : F_WRLCK, F_RDLCK, F_UNLCK

void dsUnLock FILE *    f [inline]

void dsUnLock int    fd [inline]

Generated on Mon May 16 18:26:58 2005 for libdms4 by doxygen1.3-rc2