Use sysexits.h
commit6e61ef03cf9d20d203b9493495f6bae13750af04
authorTobias Rehbein <tobias.rehbein@web.de>
Thu, 3 Dec 2009 21:08:49 +0000 (3 22:08 +0100)
committerTobias Rehbein <tobias.rehbein@web.de>
Sun, 13 Dec 2009 12:37:24 +0000 (13 13:37 +0100)
tree85b6cf0c88c0ca3012ac9e05ae5d3517514b8b53
parentb1071aa258e499f4bf5951e34c5afd667917a886
Use sysexits.h

Use `sysexits.h` and the exit codes defined in it when `oggquiz`
is terminated because of an error.

 * use `sysexits.h` and modify all `err` and `errx` calls
   accordingly
 * while here free the malloced `ogg_context` in
   `ogg_context_close`
oggfile.c
oggquiz.c
options.c
player.c
ui.c