From: Kevin Day Date: Thu, 31 Mar 2022 03:28:43 +0000 (-0500) Subject: Update: Add pid integer to fll_program_data_t. X-Git-Tag: 0.5.9~17 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=96c6bb4a9ea468bfa03673a3f5e6fa2a9acc09d0;p=fll Update: Add pid integer to fll_program_data_t. --- 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(), \