Annotation of libaitsess/inc/defs.h, revision 1.1.1.1
1.1 misho 1: #ifndef __DEFS_H
2: #define __DEFS_H
3:
4: #define MAX_STR 255
5:
6: #define LOGERR { \
7: sessErrno = errno; \
8: bzero(sessError, MAX_STR + 1); \
9: strncpy(sessError, strerror(errno), MAX_STR); \
10: }
11:
12: /*
13: union semun {
14: int val;
15: struct semid_ds *buf;
16: unsigned short int *array;
17: struct seminfo *__buf;
18: };
19: */
20:
21:
22: extern int sessErrno;
23: extern char sessError[];
24:
25:
26: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>