Made FD/PORT FDES/PORT PORT/FD PORT/FDES parameter names consistently FD/PORT.

This commit is contained in:
shivers 1996-11-11 19:38:18 +00:00
parent 2f7c39be3f
commit 1cdcaaee53
1 changed files with 24 additions and 16 deletions

View File

@ -115,7 +115,7 @@ run/file*, that take thunk arguments for the subprocess.
(with-current-output-port* port thunk) -> value(s) of thunk
(with-error-output-port* port thunk) -> value(s) of thunk
(close port/fd)
(close fd/port)
(stdports->stdio)
(stdio->stdports)
@ -141,10 +141,10 @@ run/file*, that take thunk arguments for the subprocess.
** Unix I/O
(dup port/fd [newfd]) -> port/fd
(dup->inport port/fd [newfd]) -> port
(dup->outport port/fd [newfd]) -> port
(dup->fdes port/fd [newfd]) -> fd
(dup fd/port [newfd]) -> fd/port
(dup->inport fd/port [newfd]) -> port
(dup->outport fd/port [newfd]) -> port
(dup->fdes fd/port [newfd]) -> fd
(file-seek fd/port offset whence)
@ -153,16 +153,24 @@ run/file*, that take thunk arguments for the subprocess.
(open-output-file fname [flags perms]) -> port
(open-fdes fname flags [perms]) -> integer
Open flags:
open/read ; You may only
open/write ; choose one
open/read+write ; of these three
open/no-control-tty
open/nonblocking
open/append
open/create
open/truncate
open/exclusive
(fdes-flags fd/port)
(set-fdes-flags fd/port flags)
Only Posix flag defined is FDFLAGS/CLOSE-ON-EXEC, which you should
not ever have to use -- scsh manages this automatically.
(fdes-status fd/port)
(set-fdes-flags fd/port flags)
Operations allowed Flags
------------------ -----
Open+get+set open/append, open/non-blocking
open/async, open/fsync (non-Posix)
Open+get open/read, open/write, open/read+write
open/access-mask
Open only open/create, open/exclusive,
open/no-control-tty, open/truncate
(pipe) -> [rport wport]
(read-line [fd/port retain-newline?]) -> string or eof-object
@ -706,7 +714,7 @@ scsh [meta-arg] [switch1 ...] [end-option arg1 ...]
-ds Do script.
end-option: -s <script> Specifies script to load.
-s<num> Script from file descriptor <num>.
-sfd <num> Script from file descriptor <num>.
-c <expression> Eval <expression> and exit.
--