#ifndef ERRNO_H #define ERRNO_H /* * Use POSIX error codes * * I think POSIX does not explicitly define the error code values, * so just use Linux/FreeBSD values * */ #define EIO 5 #define ENOMEM 12 #define EINVAL 22 #endif /* ERRNO_H */