root/include/std/errno.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef ERRNO_H
   2 #define ERRNO_H
   3 
   4 // CHDK errno
   5 
   6 // Note: used in modules and platform independent code. 
   7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   8 
   9 //==========================================================
  10 
  11 // on vxworks we could find the actual errno, but this is easier to automate sig
  12 // doesn't exist on dryos, but we stub it
  13 extern int errnoOfTaskGet(int tid);
  14 
  15 #define errno (errnoOfTaskGet(0))
  16 
  17 //---------------------------------------------------------------
  18 
  19 #endif
  20 

/* [<][>][^][v][top][bottom][index][help] */