From 96c6bb4a9ea468bfa03673a3f5e6fa2a9acc09d0 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 30 Mar 2022 22:28:43 -0500 Subject: [PATCH] Update: Add pid integer to fll_program_data_t. --- level_2/fll_program/c/program/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/level_2/fll_program/c/program/common.h b/level_2/fll_program/c/program/common.h index 4d2451f..90fa9e4 100644 --- a/level_2/fll_program/c/program/common.h +++ b/level_2/fll_program/c/program/common.h @@ -40,6 +40,7 @@ extern "C" { * error: The output file for error printing. * output: The output file for general printing. * parameters: The state of pre-defined parameters passed to the program. + * pid: The PID of the program. * process_pipe: Designate whether or not to process the input pipe. * signal: The process signal management structure. * signal_check: A counter used to map to for reducing the amount of actual signal check calls. @@ -52,6 +53,7 @@ extern "C" { uint16_t signal_check; mode_t umask; + pid_t pid; bool process_pipe; int child; @@ -70,6 +72,7 @@ extern "C" { 0, \ 0, \ 0, \ + 0, \ F_false, \ fl_print_t_initialize, \ macro_fl_print_t_initialize_error(), \ -- 1.8.3.1