diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-02-01 01:25:06 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-02-01 01:25:06 +0000 |
commit | cecf8ae614b687b165257de7246d75b823593d00 (patch) | |
tree | 68000c06cee8e67c7d3ed2377fbb8866b2dfec97 /ace/ACE.h | |
parent | 3f86474fbd339a45d6614526870b11b7fd0f6920 (diff) | |
download | ATCD-cecf8ae614b687b165257de7246d75b823593d00.tar.gz |
.
Diffstat (limited to 'ace/ACE.h')
-rw-r--r-- | ace/ACE.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/ACE.h b/ace/ACE.h index ffe89ca8c72..60d0d7417c5 100644 --- a/ace/ACE.h +++ b/ace/ACE.h @@ -537,6 +537,13 @@ public: // 0 if unsuccessful, else returns pointer to beginning of the // "time" portion of <day_and_time>. + static pid_t fork (const char *program_name = "<unknown>", + int avoid_zombies = 0); + // if <avoid_zombies> == 0 call <ACE_OS::fork> directly, else create + // an orphan process that's inherited by the init process; init + // cleans up when the orphan process terminates so we don't create + // zombies. + static int daemonize (const char pathname[] = "/", int close_all_handles = ACE_DEFAULT_CLOSE_ALL_HANDLES, const char program_name[] = "<unknown>"); |