brian 746c94eef4 Handle any of descriptors 0, 1 or 2 being closed when we're
envoked -- don't use them (as return values from open()), then
(say) close(STDIN_FILENO) when daemonising.

This is done by grabbing 3 descriptors to /dev/null at startup and
releasing them after we've daemonised.

MFC after: 1 week
2001-07-04 03:34:20 +00:00
..
2001-06-24 18:41:30 +00:00
2001-06-02 19:09:37 +00:00
2001-06-04 13:08:54 +00:00
2001-06-24 18:51:40 +00:00
2001-05-30 08:13:39 +00:00
2001-07-02 05:38:26 +00:00
2001-05-12 14:34:46 +00:00
2001-06-11 12:39:29 +00:00
2001-07-03 21:43:41 +00:00
2001-06-24 23:41:57 +00:00
2001-07-02 09:33:50 +00:00
2001-04-07 11:21:35 +00:00
2001-06-24 23:41:57 +00:00
2001-06-24 23:41:57 +00:00
2001-04-07 11:21:35 +00:00
2001-06-24 23:41:57 +00:00
2001-06-25 21:06:15 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-04-02 06:21:13 +00:00
2001-06-05 12:40:03 +00:00
2001-04-07 11:21:35 +00:00
2001-06-24 01:34:38 +00:00
2001-04-18 15:54:10 +00:00
2001-04-18 15:54:10 +00:00
2001-06-11 12:39:29 +00:00
2001-06-24 23:41:57 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-11 12:39:29 +00:00
2001-06-24 23:41:57 +00:00
2001-04-07 11:21:35 +00:00
2001-05-09 08:37:18 +00:00
2001-06-11 12:39:29 +00:00
2001-04-22 03:00:09 +00:00
2001-06-24 23:41:57 +00:00
2001-06-03 20:02:03 +00:00