greenplumn syslibwrapper 源码
greenplumn syslibwrapper 代码
文件路径:/src/backend/gporca/libgpos/include/gpos/common/syslibwrapper.h
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2011 EMC Corp.
//
// @filename:
// syslibwrapper.h
//
// @doc:
// Wrapper for functions in system library
//
//---------------------------------------------------------------------------
#ifndef GPOS_syslibwrapper_H
#define GPOS_syslibwrapper_H
#include "gpos/common/clibtypes.h"
#include "gpos/types.h"
namespace gpos
{
namespace syslib
{
// get the date and time
void GetTimeOfDay(TIMEVAL *tv, TIMEZONE *tz);
// get system and user time
void GetRusage(RUSAGE *usage);
// open a connection to the system logger for a program
void OpenLog(const CHAR *ident, INT option, INT facility);
// generate a log message
void SysLog(INT priority, const CHAR *format);
// close the descriptor being used to write to the system logger
void CloseLog();
} //namespace syslib
} // namespace gpos
#endif
// EOF
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦