Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1,4c1,2
- < # Endianess
- < L
- < # Wordsize
- < 64
- ---
- > # 07jan17abu
- > # (c) Software Lab. Alexander Burger
- 7,13c5,11
- < (equ ENOENT 2)
- < (equ EINTR 4)
- < (equ EBADF 9)
- < (equ EAGAIN 11)
- < (equ EACCES 13)
- < (equ EPIPE 32)
- < (equ ECONNRESET 104)
- ---
- > (equ ENOENT 2) # No such file or directory
- > (equ EINTR 4) # Interrupted system call
- > (equ EBADF 9) # Bad file number
- > (equ EAGAIN 11) # Try again
- > (equ EACCES 13) # Permission denied
- > (equ EPIPE 32) # Broken pipe
- > (equ ECONNRESET 104) # Connection reset by peer
- 28c26
- < (equ BUFSIZ 8192)
- ---
- > (equ BUFSIZ 1024)
- 29a28,33
- >
- > (push '*Globals '__sF)
- > (equ stdin '__sF)
- > (equ stdout '(& (__sF 152)))
- > (equ stderr '(& (__sF 304)))
- >
- 37,39c41,43
- < (equ FLOCK 32)
- < (equ L_TYPE 0)
- < (equ L_WHENCE 2)
- ---
- > (equ FLOCK 32) # File lock structure
- > (equ L_TYPE 0) # 2
- > (equ L_WHENCE 2) # 2
- 58,59c62,63
- < (equ STAT 128)
- < (equ ST_MODE 16)
- ---
- > (equ STAT 128) # File status structure
- > (equ ST_MODE 16) # 4
- 62,64c66,68
- < (equ S_IFMT 61440)
- < (equ S_IFREG 32768)
- < (equ S_IFDIR 16384)
- ---
- > (equ S_IFMT (oct "170000"))
- > (equ S_IFREG (oct "100000"))
- > (equ S_IFDIR (oct "40000"))
- 67c71
- < (equ TMS 32)
- ---
- > (equ TMS 32) # 'times' structure
- 72c76
- < (equ TERMIOS 60)
- ---
- > (equ TERMIOS 36) # Terminal I/O structure
- 86,90c90,95
- < (equ SIGACTION 152)
- < (equ SIGSET_T 128)
- < (equ SA_HANDLER 0)
- < (equ SA_MASK 8)
- < (equ SA_FLAGS 136)
- ---
- > (equ SIGACTION 32) # Sigaction structure
- > (equ SIGSET_T 8)
- > (equ SA_HANDLER 8)
- > (equ SA_MASK 16)
- > (equ SA_FLAGS 0)
- >
- 94c99,100
- < (equ SIGHUP 1)
- ---
- >
- > (equ SIGHUP 1) # Signals
- 108c114
- < (equ SIGNALS 30)
- ---
- > (equ SIGNALS 30) # Highest used signal number plus 1
- 115c121
- < (equ FD_SET 128)
- ---
- > (equ FD_SET 128) # 1024 bit
- 139a146
- >
- 141c148,149
- < (equ NI_NAMEREQD 8)
- ---
- > (equ NI_NAMEREQD 4)
- >
- 145a154
- >
- 150c159
- < (equ AI_ADDR 24)
- ---
- > (equ AI_ADDR 32)
- 151a161,162
- >
- > # vi:et:ts=3:sw=3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement