Added types to decls, possibly other stuff.
This commit is contained in:
parent
06eb60980d
commit
bf449b53b7
|
@ -3,108 +3,109 @@
|
||||||
;;; Copyright (c) 1994 by Brian D. Carlstrom
|
;;; Copyright (c) 1994 by Brian D. Carlstrom
|
||||||
|
|
||||||
(define-interface posix-fdflags-interface
|
(define-interface posix-fdflags-interface
|
||||||
(export open/read
|
(export ((open/read
|
||||||
open/write
|
open/write
|
||||||
open/read+write
|
open/read+write
|
||||||
open/non-blocking
|
open/non-blocking
|
||||||
open/append
|
open/append
|
||||||
open/no-control-tty
|
open/no-control-tty
|
||||||
open/create
|
open/create
|
||||||
open/truncate
|
open/truncate
|
||||||
open/exclusive
|
open/exclusive
|
||||||
open/access-mask
|
open/access-mask) :number)
|
||||||
|
|
||||||
fcntl/dup-fdes
|
((fcntl/dup-fdes
|
||||||
fcntl/get-fdes-flags
|
fcntl/get-fdes-flags
|
||||||
fcntl/set-fdes-flags
|
fcntl/set-fdes-flags
|
||||||
fcntl/get-status-flags
|
fcntl/get-status-flags
|
||||||
fcntl/set-status-flags
|
fcntl/set-status-flags
|
||||||
fcntl/get-record-lock
|
fcntl/get-record-lock
|
||||||
fcntl/set-record-lock
|
fcntl/set-record-lock
|
||||||
fcntl/set-record-lock-no-block
|
fcntl/set-record-lock-no-block) :number)
|
||||||
|
|
||||||
fdflags/close-on-exec
|
(fdflags/close-on-exec :number)
|
||||||
|
|
||||||
lock/read
|
((lock/read
|
||||||
lock/write
|
lock/write
|
||||||
lock/release))
|
lock/release) :number)))
|
||||||
|
|
||||||
(define-interface posix-errno-interface
|
(define-interface posix-errno-interface
|
||||||
(export errno/2big
|
(export ((errno/2big
|
||||||
errno/acces
|
errno/acces
|
||||||
errno/again
|
errno/again
|
||||||
errno/badf
|
errno/badf
|
||||||
errno/busy
|
errno/busy
|
||||||
errno/child
|
errno/child
|
||||||
errno/deadlk
|
errno/deadlk
|
||||||
errno/dom
|
errno/dom
|
||||||
errno/exist
|
errno/exist
|
||||||
errno/fault
|
errno/fault
|
||||||
errno/fbig
|
errno/fbig
|
||||||
errno/intr
|
errno/intr
|
||||||
errno/inval
|
errno/inval
|
||||||
errno/io
|
errno/io
|
||||||
errno/isdir
|
errno/isdir
|
||||||
errno/mfile
|
errno/mfile
|
||||||
errno/mlink
|
errno/mlink
|
||||||
errno/nametoolong
|
errno/nametoolong
|
||||||
errno/nfile
|
errno/nfile
|
||||||
errno/nodev
|
errno/nodev
|
||||||
errno/noent
|
errno/noent
|
||||||
errno/noexec
|
errno/noexec
|
||||||
errno/nolck
|
errno/nolck
|
||||||
errno/nomem
|
errno/nomem
|
||||||
errno/nospc
|
errno/nospc
|
||||||
errno/nosys
|
errno/nosys
|
||||||
errno/notdir
|
errno/notdir
|
||||||
errno/notempty
|
errno/notempty
|
||||||
errno/notty
|
errno/notty
|
||||||
errno/nxio
|
errno/nxio
|
||||||
errno/perm
|
errno/perm
|
||||||
errno/pipe
|
errno/pipe
|
||||||
errno/range
|
errno/range
|
||||||
errno/rofs
|
errno/rofs
|
||||||
errno/spipe
|
errno/spipe
|
||||||
errno/srch
|
errno/srch
|
||||||
errno/xdev))
|
errno/xdev) :number)))
|
||||||
|
|
||||||
|
|
||||||
(define-interface posix-signals-interface
|
(define-interface posix-signals-interface
|
||||||
(export signal/abrt
|
(export ((signal/abrt
|
||||||
signal/alrm
|
signal/alrm
|
||||||
signal/chld
|
signal/chld
|
||||||
signal/cont
|
signal/cont
|
||||||
signal/fpe
|
signal/fpe
|
||||||
signal/hup
|
signal/hup
|
||||||
signal/ill
|
signal/ill
|
||||||
signal/int
|
signal/int
|
||||||
signal/kill
|
signal/kill
|
||||||
signal/pipe
|
signal/pipe
|
||||||
signal/quit
|
signal/quit
|
||||||
signal/segv
|
signal/segv
|
||||||
signal/stop
|
signal/stop
|
||||||
signal/term
|
signal/term
|
||||||
signal/tstp
|
signal/tstp
|
||||||
signal/ttin
|
signal/ttin
|
||||||
signal/ttou
|
signal/ttou
|
||||||
signal/usr1
|
signal/usr1
|
||||||
signal/usr2))
|
signal/usr2) :number)))
|
||||||
|
|
||||||
(define-interface signals-internals-interface
|
(define-interface signals-internals-interface
|
||||||
(export signals-ignored-by-default))
|
(export signals-ignored-by-default)) ; (:list-of :number)
|
||||||
|
|
||||||
(define-interface scsh-errors-interface
|
(define-interface scsh-errors-interface
|
||||||
(export errno-error
|
(export errno-error
|
||||||
error
|
error
|
||||||
with-errno-handler*
|
(with-errno-handler* (proc (proc (:number :value) :values) ; handler
|
||||||
|
(proc () :values))) ; thunk
|
||||||
(with-errno-handler :syntax)))
|
(with-errno-handler :syntax)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(define buffered-io-flags-interface
|
(define buffered-io-flags-interface
|
||||||
(export bufpol/block
|
(export ((bufpol/block
|
||||||
bufpol/line
|
bufpol/line
|
||||||
bufpol/none))
|
bufpol/none) :number)))
|
||||||
|
|
||||||
(define-interface scsh-io-interface
|
(define-interface scsh-io-interface
|
||||||
(compound-interface buffered-io-flags-interface
|
(compound-interface buffered-io-flags-interface
|
||||||
|
@ -557,7 +558,8 @@
|
||||||
check-arg conjoin disjoin negate compose reverse! call/cc
|
check-arg conjoin disjoin negate compose reverse! call/cc
|
||||||
deprecated-proc
|
deprecated-proc
|
||||||
deposit-bit-field
|
deposit-bit-field
|
||||||
real->exact-integer))
|
real->exact-integer
|
||||||
|
string-replace! substring-replace!))
|
||||||
|
|
||||||
;;; semi-standard network magic numbers
|
;;; semi-standard network magic numbers
|
||||||
;;; should be available on all platforms
|
;;; should be available on all platforms
|
||||||
|
|
Loading…
Reference in New Issue