diff options
| author | _ov4 <ov4@ov4.org> | 2026-08-31 07:38:14 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-08-31 07:38:14 +0000 |
| commit | 0e460c391c093f1eb074d3192c60d37fa425d48d (patch) | |
| tree | b2001ca54ef31abab8f2b951ffc6254467f17fe8 /src | |
| parent | 11fa05b52caf991277ffe89690fe98819a40a84e (diff) | |
fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main.cc b/src/main.cc index 4b6c1f7..5a2bd71 100644 --- a/src/main.cc +++ b/src/main.cc @@ -28,22 +28,6 @@ using namespace ov4; -/* Job states */ -#define UNDEF 0 /* undefined */ -#define FG 1 /* running in foreground */ -#define BG 2 /* running in background */ -#define ST 3 /* stopped */ - -/* - * Jobs states: FG (foreground), BG (background), ST (stopped) - * Job state transitions and enabling actions: - * FG -> ST : ctrl-z - * ST -> FG : fg command - * ST -> BG : bg command - * BG -> FG : fg command - * At most 1 job can be in the FG state. - */ - /* Global variables */ char prompt[] = "$ "; /* command line prompt (DO NOT CHANGE) */ char sbuf[MAXLINE]; /* for composing sprintf messages */ |
