The GNU Modula-2 front end to GCC

ulm-lib-gm2/sys/Sys

DEFINITION MODULE Sys;

(*
   The constants included here are those which are needed to get
   the ulm modules working. This is a much reduced list from the
   original ULM library. Please email <gm2 at glam.ac.uk> if you
   require more system calls than those presented below:
*)

CONST

    access = 0 ;

    brk = 1 ;

    close = 2 ;

    creat = 3 ;

    dup = 4 ;

    execve = 5 ;

    exit = 6 ;

    fcntl = 7 ;

    fstat = 8 ;

    getdents = 9 ;

    getgid = 10 ;

    getpid = 11 ;

    gettimeofday = 12 ;

    getuid = 13 ;

    ioctl = 14 ;

    kill = 15 ;

    link = 16 ;

    lseek = 17 ;

    open = 18 ;

    pause = 19 ;

    pipe = 20 ;

    read = 21 ;

    setitimer = 22 ;

    setgid = 23 ;

    setuid = 24 ;

    stat = 25 ;

    times = 26 ;

    unlink = 27 ;

    wait = 28 ;

    write = 29 ;

END Sys.