YAZ  5.25.0
errno.h File Reference

Header for errno utilities. More...

#include <yaz/yconfig.h>

Go to the source code of this file.


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

◆ yaz_errno()

int yaz_errno ( void  )

◆ yaz_set_errno()

void yaz_set_errno ( int  v)

sets errno to value

verrno value

Definition at line 36 of file errno.c.

Referenced by tcpip_get(), and unix_bind().

◆ yaz_strerror()

void yaz_strerror ( char *  buf,
size_t  bufsz 

returns system error description string

bufbuffer for result
bufszmaximum number of bytes to store

Definition at line 41 of file errno.c.

References yaz_errno().

Referenced by yaz_log().