No description
- C 93.6%
- Makefile 6.4%
| .exrc | wip branch:main | |
| .gitignore | wip branch:main | |
| daemonize.c | wip branch:main | |
| daemonize.h | wip branch:main | |
| log.c | wip branch:main | |
| log.h | wip branch:main | |
| main.c | show that daemon() seems to work and the parent id goes to one afterwards, and that the pid and gid do indeed change. | |
| Makefile | show that daemon() seems to work and the parent id goes to one afterwards, and that the pid and gid do indeed change. | |
| README | wip branch:main | |
man dup man deamon daemonize.[ch] isn't used, because the above daemon() function from stdlib.h seems to do this and the call looks like: r = daemonize(0, 0); So that's it, I'll just use that. See how cool it is programming in C on OpenBSD :). --- The log.[ch] is just my helper stuff. I wanted to write to a file because if you lose stdout and stderr ...