ast_comparator/test/student_data/handout/shlab-handout/cases/31_tsh.c
/* clearjob - Clear the entries in a job struct */
Clear the entries in a job struct
Clear the entries in a job struct
void clearjob(struct job_t *job) {
  job->pid = 0;
  job->jid = 0;
  job->state = UNDEF;
  job->cmdline[0] = '\0';
}
void clearjob ( struct job_t * job ) { job -> pid = 0 ; job -> jid = 0 ; job -> state = UNDEF ; job -> cmdline [ 0 ] = ' \0 ' ; }
clearjob - Clear the entries in a job struct
clearjob - Clear the entries in a job struct