YAZ  5.23.1
Functions
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 More...
 
void yaz_set_errno (int v)
 sets errno to value More...
 
void yaz_strerror (char *buf, size_t bufsz)
 returns system error description string More...
 

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
verrno 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
bufbuffer for result
bufszmaximum number of bytes to store

Definition at line 41 of file errno.c.

References yaz_errno().

Referenced by yaz_log().