YAZ  5.25.0
thread_id.h File Reference

Header for Mutex functions. More...

#include <stddef.h>
#include <yaz/yconfig.h>

Go to the source code of this file.


void yaz_thread_id_cstr (char *buf, size_t buf_max)
 format current thread as printable C-string More...

Detailed Description

Header for Mutex functions.

Definition in file thread_id.h.

Function Documentation

◆ yaz_thread_id_cstr()

void yaz_thread_id_cstr ( char *  buf,
size_t  buf_max 

format current thread as printable C-string

bufbuffer for string
buf_maxmaximum number of bytes (including trailing \0)

Definition at line 32 of file thread_id.c.

Referenced by yaz_log_to_file().