Last modified on Mon Feb 24 13:40:14 PST 1992 by kalsow modified on Mon Aug 13 23:56:36 1990 by muller
INTERFACEWe cannot access
Cerrno; FROM Ctypes IMPORT int;
errnodirectly as a variable, because on some systems it is a C macro that expands to something more complicated.
errno value is preserved across thread switches.
<*EXTERNAL "Cerrno__GetErrno"*> PROCEDURE GetErrno(): int; <*EXTERNAL "Cerrno__SetErrno"*> PROCEDURE SetErrno(e: int); END Cerrno.