* src/ttt-args.h:
* src/ttt-args.c: (ttt_args_help), (ttt_args_parse): Add
-d,--detach and --pid-file=FILE options for running the server as
a daemon.
* src/ttt-server.c: (ttt_server_statistics),
(ttt_server_verify_username), (_detach_and_write_child_pid_to),
(main): Add support for detaching and writing out the child PID to
a file.
* src/x.h:
* src/x.c: (xfopen), (xdup2): Two new x-functions.