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, 5 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
/*************************************************************************
* (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com>
* by Michael Pounov <misho@openbsd-bg.org>
*
* $Author: misho $
* $Id: defs.h,v 1.1.1.1 2010/02/23 22:54:52 misho Exp $
*
*************************************************************************/
#ifndef __DEFS_H
#define __DEFS_H
#define STRSIZ 256
#define LOGERR { \
io_Errno = errno; \
strlcpy(io_Error, strerror(errno), STRSIZ); \
}
extern int io_Errno;
extern char io_Error[];
inline void io_SetErr(int eno, char *estr, ...);
#endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>