YAZ  5.25.0
thread_id.c File Reference

Returns printable thread ID. More...

#include <string.h>
#include <stdio.h>
#include <yaz/thread_id.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

Returns printable thread ID.

Definition in file thread_id.c.

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