]> git.cworth.org Git - ttt/commit
2005-11-05 Carl Worth <cworth@cworth.org>
authorCarl Worth <carl@theworths.org>
Sat, 5 Nov 2005 16:43:21 +0000 (16:43 +0000)
committerCarl Worth <carl@theworths.org>
Sat, 5 Nov 2005 16:43:21 +0000 (16:43 +0000)
commitcce891bb05118330ca609ac989491ad8a2fa7f71
tree1b7812ac7600fa613ac04ee522c64f68e6c75e32
parentd47633eb2c209422c89056ddc1f165c1d88efe77
2005-11-05  Carl Worth  <cworth@cworth.org>

        * src/Makefile.am: Add ttt-board.[ch] and x.[ch]

        * src/ttt-board.h:
        * src/ttt-board.c: (ttt_board_init), (ttt_board_init_from_string),
        (ttt_board_to_string), (ttt_board_write): Add some stub functions
        for Richard and Kevin to have some practice
        implementing. Functions to represent a board and to go to/from a
        string.

        * src/x.h:
        * src/x.c: (xasprintf), (xvasprintf), (xpipe), (xfork), (xmalloc),
        (xcalloc), (xrealloc), (xfdopen), (xstrdup), (xfwrite): Several
        utility functions that make system calls, check the result, and
        exit on any error. This will simplify the error checking needed in
        programs using these functions.
ChangeLog
src/Makefile.am
src/ttt-board.c [new file with mode: 0644]
src/ttt-board.h [new file with mode: 0644]
src/x.c [new file with mode: 0644]
src/x.h [new file with mode: 0644]