90s/include/job.h

18 lines
260 B
C
Raw Normal View History

#ifndef JOB_H_
#define JOB_H_
#include <unistd.h>
#include <stdbool.h>
typedef struct job {
pid_t pid;
char *command;
bool status;
struct job *next;
} job;
int add_job(pid_t pid, char *command, bool status);
job *get_job(pid_t pid);
#endif