lcpex rewrite - alpha

This commit is contained in:
phanes
2023-02-15 18:44:21 -05:00
parent bb85754dc0
commit 7ed6e13fa5
82 changed files with 4510 additions and 2592 deletions

21
src/lcpex/helpers.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef LCPEX_HELPERS_H
#define LCPEX_HELPERS_H
// helper for sanity
enum PIPE_ENDS {
READ_END = 0,
WRITE_END = 1
};
// helper for sanity
// these do NOT represent fd values
enum CHILD_PIPE_NAMES {
STDOUT_READ = 0,
STDERR_READ = 1
};
#define BUFFER_SIZE 1024
#endif //LCPEX_HELPERS_H