mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-28 05:05:41 +00:00
Fix the unixfork/unixcomm code to deal with pid over 65535 (#333)
* ForkUnixShell() can be a static procedure * Restructure SAFEREAD() to be a little clearer * Convert unixjob type field defines to an enum and fix related unhandled switch cases. * Use local declaration of loop variables in for-loop, removing register attributes * Restructure SAFEREAD() to be a little clearer * Send and receive 2 additional bytes for pid. * Prefer standard C99 "inline" over "__inline__" for SAFEREAD
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef UNIXFORK_H
|
||||
#define UNIXFORK_H 1
|
||||
int fork_Unix(void);
|
||||
int ForkUnixShell(int slot, char *PtySlave, char *termtype, char *shellarg);
|
||||
#endif /* UNIXFORK_H */
|
||||
|
||||
Reference in New Issue
Block a user