Back to home page

Enduro/X

 
 

    


0001 TPLOGFPGET(3)
0002 =============
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 tplogfpget - Get the file pointer for locked logger
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 #include <ndebug.h>
0014 
0015 FILE *tplogfpget(ndrx_debug_t *'dbg', long 'flags');
0016 
0017 Link with '-lnstd -lpthread -lrt -lm'
0018 
0019 DESCRIPTION
0020 -----------
0021 Return the *FILE* pointer for locked logger acquired by *tplogfplock(3)*.
0022 File pointer handle is passed in 'dbg' parameter. Parameter 'flags'
0023 is reserved for future use.
0024 File pointer is valid until lock is released by *tplogfpunlock(3)*.
0025 
0026 
0027 RETURN VALUE
0028 ------------
0029 File pointer.
0030 
0031 ERRORS
0032 ------
0033 N/A
0034 
0035 EXAMPLE
0036 -------
0037 See *atmitest/test031_logging/atmiclt31.c* for sample code.
0038 
0039 BUGS
0040 ----
0041 Report bugs to support@mavimax.com
0042 
0043 SEE ALSO
0044 --------
0045 *tplogfpget(3)* *tplogfpunlock(3)*
0046 
0047 COPYING
0048 -------
0049 (C) Mavimax, Ltd
0050