annotate src/daemon.h @ 27:9298f8b00db2 stable-1-0-10

patches from Takao Abe add switches for config and pid files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 24 May 2018 10:35:45 -0700
parents 8ebecad6530f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1 /*
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 * File: daemon.h
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3 * Author: shasn
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 *
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 * Created on 22 Декабрь 2006 г., 15:28
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 */
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 #ifndef _daemon_H
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 #define _daemon_H
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 #ifdef __cplusplus
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 extern "C" {
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 #endif
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 int daemon(int nochdir, int noclose);
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 #ifdef __cplusplus
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
19 }
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 #endif
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22 #endif /* _daemon_H */
8ebecad6530f Add src/daemon* missing from source control.
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
23