Daemon Example in C

12 pointsposted 14 hours ago
by smartmic

1 Comments

nesarkvechnep

10 minutes ago

These days I've been using the `daemon` utility in FreeBSD whenever I need to run some long running program as a daemon. This allows me to not even bother with flags, double forks and so on.