]> Kevux Git Server - fll/commit
Update: always ensure standard file descriptors are closed on program exit.
authorKevin Day <thekevinday@gmail.com>
Sun, 13 Dec 2020 21:01:33 +0000 (15:01 -0600)
committerKevin Day <thekevinday@gmail.com>
Sun, 13 Dec 2020 21:06:07 +0000 (15:06 -0600)
commitee9ade8aa608c58184fa9cb7bd17cd4854b17c52
tree33b4ebb408da5e1bf5f8e855601b1c13113a1623
parente6f8e514bdc34a1b1ee9a740eca65d2dca1426c5
Update: always ensure standard file descriptors are closed on program exit.

Explicitly close file descritpros on exit.
This is especially important now that the program could be a child process and the file descriptor could be open between a parent process.
36 files changed:
level_3/byte_dump/c/main.c
level_3/control/c/control.h
level_3/control/c/main.c
level_3/controller/c/main.c
level_3/fake/c/main.c
level_3/firewall/c/firewall.h
level_3/fss_basic_list_read/c/fss_basic_list_read.h
level_3/fss_basic_list_read/c/main.c
level_3/fss_basic_list_write/c/fss_basic_list_write.h
level_3/fss_basic_list_write/c/main.c
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_basic_read/c/main.c
level_3/fss_basic_write/c/fss_basic_write.h
level_3/fss_basic_write/c/main.c
level_3/fss_embedded_list_read/c/fss_embedded_list_read.h
level_3/fss_embedded_list_read/c/main.c
level_3/fss_embedded_list_write/c/fss_embedded_list_write.h
level_3/fss_embedded_list_write/c/main.c
level_3/fss_extended_list_read/c/fss_extended_list_read.h
level_3/fss_extended_list_read/c/main.c
level_3/fss_extended_list_write/c/fss_extended_list_write.h
level_3/fss_extended_list_write/c/main.c
level_3/fss_extended_read/c/fss_extended_read.h
level_3/fss_extended_read/c/main.c
level_3/fss_extended_write/c/fss_extended_write.h
level_3/fss_extended_write/c/main.c
level_3/fss_status_code/c/fss_status_code.h
level_3/fss_status_code/c/main.c
level_3/iki_read/c/iki_read.h
level_3/iki_read/c/main.c
level_3/iki_write/c/iki_write.h
level_3/iki_write/c/main.c
level_3/init/c/init.h
level_3/init/c/main.c
level_3/status_code/c/main.c
level_3/status_code/c/status_code.h