Return to defs.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitcfg / inc |
1.1 ! misho 1: #ifndef __DEFS_H ! 2: #define __DEFS_H ! 3: ! 4: #define MAX_STR 255 ! 5: ! 6: #define LOGERR { \ ! 7: cfgErrno = errno; \ ! 8: bzero(cfgError, MAX_STR + 1); \ ! 9: strncpy(cfgError, strerror(errno), MAX_STR); \ ! 10: } ! 11: ! 12: ! 13: extern int cfgErrno; ! 14: extern char cfgError[]; ! 15: ! 16: ! 17: #endif