GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lock.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <signal.h>
#include "local_proto.h"
#include <grass/gis.h>
#include <grass/glocale.h>
#include <errno.h>
Include dependency graph for lock.c:

Go to the source code of this file.

Macros

#define file   argv[1]
 

Functions

int main (int argc, char *argv[])
 
int find_process (int pid)
 

Variables

int errno
 

Macro Definition Documentation

Function Documentation

int find_process ( int  pid)

Definition at line 67 of file lock.c.

References errno.

int main ( int  argc,
char *  argv[] 
)

Definition at line 30 of file lock.c.

References file, find_process(), G_fatal_error(), G_sleep(), and G_warning().

Variable Documentation

int errno