stub.h 298 B

123456789101112131415161718
  1. /* See LICENSE of license details. */
  2. #ifndef _NUCLEI_SYS_STUB_H
  3. #define _NUCLEI_SYS_STUB_H
  4. #include <stdint.h>
  5. #if defined (__GNUC__)
  6. #include <unistd.h>
  7. #endif
  8. void write_hex(int fd, unsigned long int hex);
  9. static inline int _stub(int err)
  10. {
  11. return -1;
  12. }
  13. #endif /* _NUCLEI_SYS_STUB_H */