mirror of
https://github.com/sheumann/telnetd.git
synced 2025-02-16 13:30:34 +00:00
Also includes a few other changes for safety, e.g. making the child exit via QuitGS rather than exit() or _exit(). The vfork_and_run() routine is based on code from my port of hush.
2 lines
64 B
C
2 lines
64 B
C
pid_t vfork_and_run(void (*fn)(void*) /*NORETURN*/, void *arg);
|