// **//// /**///** ////////** /**//////**
// ** /** //** /** /** /**
// ** /** //** ******** /** /**
-// // // // //////// // //
+// // // // //////// // //
//
// FRSH(FRescor ScHeduler), pronounced "fresh"
//==============================================
#define ERROR(nn,ss) do {if(nn>FRSH_ERR_BASE_VALUE) my_frsh_strerror(nn, ss); else perror(ss); exit (nn);} while (0)
-
-
-
int frsh_strerror (int error, char *message, size_t size);
void my_frsh_strerror(int error, char *sss);
-
/**
* This str_helper is needed to ensure argument expansion,
* see http://www.iar.com/p180591/p180591_eng.php
} else { \
perror(error_string); \
} \
-} while(0)
+} while(0)
* terror (int) needs to be visible in the point of call.
*
* @param funccall Code to execute that should return 0 in a non error
- * case.
+ * case.
**/
#define PRW(funccall) do { \
if ( (terror = funccall ) != 0) \
* terror (int) needs to be visible in the point of call.
*
* @param funccall Code to execute that should return 0 in a non error
- * case.
+ * case.
**/
#define PXW(funccall) do { \
if ( (terror = funccall ) != 0) \