YAZ  5.34.0
Functions
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.

Functions

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

Parameters
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().