cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
ImageStreamIOError.h
Go to the documentation of this file.
1 #ifndef IMAGESTREAMIO_ERROR_H
2 #define IMAGESTREAMIO_ERROR_H
3 
4 #ifndef IMAGESTREAMIO_SUCCESS
5 
6 #define IMAGESTREAMIO_SUCCESS (0)
7 #define IMAGESTREAMIO_FAILURE (1) // generic error code
8 
9 #define IMAGESTREAMIO_INVALIDARG (10) //For arguments not in range or otherwise invalid
10 #define IMAGESTREAMIO_NOTIMPL (20) //For methods or features not implemented or supported
11 #define IMAGESTREAMIO_BADALLOC (30) //Memory allocation failed
12 #define IMAGESTREAMIO_FILEOPEN (40) //Error opening file
13 #define IMAGESTREAMIO_FILESEEK (42) //error seeking on file
14 #define IMAGESTREAMIO_FILEWRITE (44) //error writing to file
15 #define IMAGESTREAMIO_FILEEXISTS (46) //error existing file
16 #define IMAGESTREAMIO_MMAP (50) //mmap or munmap error
17 #define IMAGESTREAMIO_SEMINIT (60) //semaphore initialization error
18 #define IMAGESTREAMIO_VERSION (100) //For when the wrong ImageStreamIO version is found
19 
20 
21 #endif
22 
23 #ifndef __STDC_LIB_EXT1__
24 typedef int errno_t;
25 #endif
26 
27 #endif // IMAGESTREAMIO_ERROR_H
int errno_t
Definition: ImageStreamIOError.h:24