Home
last modified time | relevance | path

Searched refs:g_fpLogFileHandle (Results 1 – 1 of 1) sorted by relevance

/onnv-gate/usr/src/lib/libkmsagent/common/
H A DKMSAuditLogger.cpp49 static FILE* g_fpLogFileHandle = NULL; variable
57 if ( g_fpLogFileHandle != NULL ) in InitializeFileLogging()
80 if ( NULL == ( g_fpLogFileHandle = fopen( g_sLogFileName, "a+t" ) ) ) in InitializeFileLogging()
91 FATAL_ASSERT( g_fpLogFileHandle != NULL ); in FinalizeFileLogging()
95 bool bSuccess = ( 0 == fclose( g_fpLogFileHandle ) ); in FinalizeFileLogging()
97 g_fpLogFileHandle = NULL; in FinalizeFileLogging()
106 if ( g_fpLogFileHandle == NULL ) in LogToFile()
113 if (0 > fputs( i_sLogLine, g_fpLogFileHandle ) ) in LogToFile()
118 if ( 0 > fputs( "\n", g_fpLogFileHandle ) ) in LogToFile()
123 if ( fflush( g_fpLogFileHandle ) != 0 ) in LogToFile()