mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-11 23:43:19 +00:00
These changes add (LOGOUT <number>) to the traditional (LOGOUT) and (LOGOUT T) calls. If an integer <number> is provided it will be used as the exit status code, while NIL and T result in an EXIT_SUCCESS. If the argument passed is none of NIL, T, or a number, the exit status code will be a generic EXIT_FAILURE (typically 1). (LOGOUT) and (LOGOUT T) virtual memory behavior is unaffected. When a <number> is passed Lisp will exit without saving the virtual memory state, as is the case for (LOGOUT T), although this behavior is determined by Lisp rather than the Maiko emulator.
11 lines
312 B
C
11 lines
312 B
C
#ifndef UUTILSDEFS_H
|
|
#define UUTILSDEFS_H 1
|
|
#include "lispemul.h" /* for LispPTR */
|
|
LispPTR check_unix_password(LispPTR *args);
|
|
LispPTR unix_username(LispPTR *args);
|
|
LispPTR unix_getparm(LispPTR *args);
|
|
LispPTR unix_getenv(LispPTR *args);
|
|
LispPTR unix_fullname(LispPTR *args);
|
|
LispPTR suspend_lisp(void);
|
|
#endif
|