Whiteboard
An interface and tools for visualizing large and complex datasets
Functions
checkLock.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>

Functions

int lock_reg (int fd, int cmd, int type, off_t offset, int whence, off_t len)
 
pid_t lock_test (int fd, int type, off_t offset, int whence, off_t len)
 
int main (int argc, char **argv)
 

Function Documentation

int lock_reg ( int  fd,
int  cmd,
int  type,
off_t  offset,
int  whence,
off_t  len 
)
pid_t lock_test ( int  fd,
int  type,
off_t  offset,
int  whence,
off_t  len 
)
int main ( int  argc,
char **  argv 
)