diff options
author | dvshkurko <dvshkurko@yandex-team.ru> | 2022-02-10 16:45:52 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:52 +0300 |
commit | c768a99151e47c3a4bb7b92c514d256abd301c4d (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/daemon.h | |
parent | 321ee9bce31ec6e238be26dbcbe539cffa2c3309 (diff) | |
download | ydb-c768a99151e47c3a4bb7b92c514d256abd301c4d.tar.gz |
Restoring authorship annotation for <dvshkurko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/daemon.h')
-rw-r--r-- | util/system/daemon.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/daemon.h b/util/system/daemon.h index c9cc73fc44..b00793b9c9 100644 --- a/util/system/daemon.h +++ b/util/system/daemon.h @@ -17,11 +17,11 @@ namespace NDaemonMaker { chdirRoot }; - enum EParent { - callExitFromParent = 0, - returnFromParent - }; - - bool MakeMeDaemon(ECloseDescriptors cd = closeAll, EStdIoDescriptors iod = openDevNull, EChDir chd = chdirRoot, EParent parent = callExitFromParent); + enum EParent { + callExitFromParent = 0, + returnFromParent + }; + + bool MakeMeDaemon(ECloseDescriptors cd = closeAll, EStdIoDescriptors iod = openDevNull, EChDir chd = chdirRoot, EParent parent = callExitFromParent); void CloseFrom(int fd); } |