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 accessCerrno ; FROM Ctypes IMPORT int;
errno
directly as a variable, because on some systems
it is a C macro that expands to something more complicated.
The errno
value is preserved across thread switches.
<*EXTERNAL "Cerrno__GetErrno"*> PROCEDURE GetErrno(): int; <*EXTERNAL "Cerrno__SetErrno"*> PROCEDURE SetErrno(e: int); END Cerrno.