/*************************************************************************
* (C) 2010 AITNET ltd - Sofia/Bulgaria - <misho@aitbg.com>
* by Michael Pounov <misho@openbsd-bg.org>
*
* $Author: misho $
* $Id: defs.h,v 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>