mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-13 23:27:12 +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.
9 lines
247 B
C
9 lines
247 B
C
#ifndef VMEMSAVEDEFS_H
|
|
#define VMEMSAVEDEFS_H 1
|
|
#include "lispemul.h" /* for LispPTR, DLword */
|
|
int lispstringP(LispPTR Lisp);
|
|
LispPTR vmem_save(char *sysout_file_name);
|
|
LispPTR vmem_save0(LispPTR *args);
|
|
void lisp_finish(int exit_status);
|
|
#endif
|