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

Functions

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

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