NCBI C++ ToolKit
Typedefs | Enumerations | Functions
ncbi_os_unix.hpp File Reference

UNIX-specifics. More...

#include <corelib/ncbi_process.hpp>
+ Include dependency graph for ncbi_os_unix.hpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef unsigned int TDaemonFlags
 Bit-wise OR of FDaemonFlags. More...
 

Enumerations

enum  FDaemonFlags { fDaemon_DontChroot = CProcess::fDontChroot , fDaemon_KeepStdin = CProcess::fKeepStdin , fDaemon_KeepStdout = CProcess::fKeepStdout , fDaemon_ImmuneTTY = CProcess::fImmuneTTY }
 Daemonization flags: Deprecated, don't use! More...
 

Functions

bool Daemonize (const char *logfile=0, TDaemonFlags flags=0)
 

Detailed Description

UNIX-specifics.

Definition in file ncbi_os_unix.hpp.

Typedef Documentation

◆ TDaemonFlags

typedef unsigned int TDaemonFlags

Bit-wise OR of FDaemonFlags.

See also
FDaemonFlags

Definition at line 59 of file ncbi_os_unix.hpp.

Enumeration Type Documentation

◆ FDaemonFlags

Daemonization flags: Deprecated, don't use!

Enumerator
fDaemon_DontChroot 
fDaemon_KeepStdin 
fDaemon_KeepStdout 
fDaemon_ImmuneTTY 

Definition at line 52 of file ncbi_os_unix.hpp.

Function Documentation

◆ Daemonize()

bool Daemonize ( const char *  logfile = 0,
TDaemonFlags  flags = 0 
)
inline

Definition at line 63 of file ncbi_os_unix.hpp.

References CProcess::Daemonize(), and flags.

Modified on Fri Jan 05 07:21:38 2024 by modify_doxy.py rev. 669887