berrno.h 524 Bytes
Newer Older
1 2 3 4 5
#ifndef BERRNO_H
#define BERRNO_H

#include <Errors.h>

6 7 8
// mmu_man: this is needed for http.c (defined errno)
#include <errno.h>

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
#ifdef ENOENT
#undef ENOENT
#endif 
#define ENOENT 2

#ifdef EINTR
#undef EINTR
#endif 
#define EINTR  4

#ifdef EIO
#undef EIO
#endif 
#define EIO    5

#ifdef EAGAIN
#undef EAGAIN
#endif 
#define EAGAIN 11

#ifdef ENOMEM
#undef ENOMEM
#endif 
#define ENOMEM 12

#ifdef EINVAL
#undef EINVAL
#endif 
#define EINVAL 22

#ifdef EPIPE
#undef EPIPE
#endif 
#define EPIPE  32

#endif /* BERRNO_H */