2005-12-08 Carl Worth <cworth@cworth.org>
authorCarl Worth <carl@theworths.org>
Thu, 8 Dec 2005 23:42:28 +0000 (23:42 +0000)
committerCarl Worth <carl@theworths.org>
Thu, 8 Dec 2005 23:42:28 +0000 (23:42 +0000)
commit95898262b4ce4a2a3d36f70a4e6cc8188decc142
tree275a0e2f975d00517b10e33ef4037cdb24dce591
parent2b99e82a84be5e2f626b4a43eb7fd82254a7ea87
2005-12-08  Carl Worth  <cworth@cworth.org>

        * 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.
ChangeLog
src/ttt-args.c
src/ttt-args.h
src/ttt-server.c
src/x.c
src/x.h