errno.h File Reference

Header for errno utilities. More...

#include <yaz/yconfig.h>

Go to the source code of this file.

Functions

int yaz_errno (void)
 returns errno
void yaz_set_errno (int v)
 sets errno to value
void yaz_strerror (char *buf, size_t bufsz)
 returns system error description string

Detailed Description

Header for errno utilities.

Definition in file errno.h.


Function Documentation

int yaz_errno ( void   ) 
void yaz_set_errno ( int  v  ) 

sets errno to value

Parameters:
v errno value

Definition at line 36 of file errno.c.

Referenced by tcpip_get(), and unix_bind().

void yaz_strerror ( char *  buf,
size_t  bufsz 
)

returns system error description string

Parameters:
buf buffer for result
bufsz maximum number of bytes to store

Definition at line 41 of file errno.c.

References yaz_errno().

Referenced by yaz_log().

Generated on Fri Jul 9 17:14:38 2010 for YAZ by  doxygen 1.6.3