User Tools

Site Tools


Sidebar

Table Of Contents

endurox:v8.0.x:api:xatmi:tplogfpget.3

tplogfpget

Name

tplogfpget — Get the file pointer for locked logger

Synopsis

#include <ndebug.h>

FILE *tplogfpget(ndrx_debug_t *dbg, long flags);

Link with -lnstd -lpthread -lrt -lm

DESCRIPTION

Return the FILE pointer for locked logger acquired by tplogfplock(3). File pointer handle is passed in dbg parameter. Parameter flags is reserved for future use. File pointer is valid until lock is released by tplogfpunlock(3).

RETURN VALUE

File pointer.

ERRORS

N/A

EXAMPLE

See atmitest/test031_logging/atmiclt31.c for sample code.

BUGS

Report bugs to support@mavimax.com

COPYING

© Mavimax, Ltd