90s/include/job.h
2024-07-01 17:40:47 +01:00

17 lines
260 B
C

#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