File:
[ELWIX - Embedded LightWeight unIX -] /
libaitio /
inc /
defs.h
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 23 22:54:52 2010 UTC (14 years, 6 months ago) by
misho
Branches:
start
CVS tags:
misho,
io1_7,
io1_6,
io1_5,
io1_4,
io1_3,
io1_2,
io1_1,
io1_0,
IO1_6,
IO1_5,
IO1_4,
IO1_3,
IO1_1,
IO1_0
libaitio for I/O console operations
1: /*************************************************************************
2: * (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com>
3: * by Michael Pounov <misho@openbsd-bg.org>
4: *
5: * $Author: misho $
6: * $Id: defs.h,v 1.1.1.1 2010/02/23 22:54:52 misho Exp $
7: *
8: *************************************************************************/
9: #ifndef __DEFS_H
10: #define __DEFS_H
11:
12:
13: #define STRSIZ 256
14:
15: #define LOGERR { \
16: io_Errno = errno; \
17: strlcpy(io_Error, strerror(errno), STRSIZ); \
18: }
19:
20:
21: extern int io_Errno;
22: extern char io_Error[];
23:
24: inline void io_SetErr(int eno, char *estr, ...);
25:
26:
27: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>