The GNU Modula-2 front end to GCC

gm2-libs/errno

DEFINITION MODULE errno ;

(*
    Description: provides a Modula-2 interface to the C errno.
*)

CONST

    EINTR  =  4 ;   (* system call interrupted *)

    ERANGE = 34 ;   (* result is too large     *)

    EAGAIN = 11 ;   (* retry the system call   *)


PROCEDURE geterrno () : INTEGER ;


END errno.