GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
open.h
Go to the documentation of this file.
1 /* quiet mode returns: 0 - open OK */
2 /* -1 - driver locked */
3 /* -2 - driver not running */
4 /* -3 - can't open fifos */
5 /* -4 - no such monitor */
6 /* -5 - GIS_LOCK undefined in shell environment */
7 /* -6 - couldn't read, write or create lock file */
8 
9 #define OK 0
10 #define LOCKED -1
11 #define NO_RUN -2
12 #define NO_OPEN -3
13 #define NO_MON -4
14 #define NO_KEY -5
15 #define LOCK_FAILED -6