If 'i/o-extensions is provided (by linking in `ioext.o'),
Line I/O, and the following functions are defined:
#t if port is input or output to a serial non-file device.
#f is returned.
The elements of the returned vector are as follows:
file-set-position is unspecified. The result of
file-set-position is unspecified.
reopen-file returns #t if successful,
#f if not.
redirect-port! returns to-port if
successful, #f if not. If unsuccessful, to-port is not
closed.
#f.
readdir returns a
#f.
readdir with
dir will return the first entry in the directory again.
#t. If dir is already
closed,, closedir returns a #f.
mkdir function creates a new, empty directory whose name is
path. The integer argument mode specifies the file
permissions for the new directory. See The Mode Bits for Access Permission, for more information about this.
mkdir returns if successful, #f if not.
rmdir function deletes the directory path. The
directory must be empty before it can be removed. rmdir returns
if successful, #f if not.
#f is returned. Otherwise, #t is
returned.
getcwd returns a string containing the absolute file
name representing the current working directory. If this string cannot
be obtained, #f is returned.
#t is returned. Otherwise,
#f is returned.
chmod sets the access permission bits for the file
named by file to mode. The file argument may be a
string containing the filename or a port open to the file.
chmod returns if successful, #f if not.
utime returns if successful, #f if not.
umask sets the file creation mask of the current
process to mask, and returns the previous value of the file
creation mask.
#f is returned.
#t if the file named by pathname can be accessed in
the way specified by the how argument. The how argument can
be the logior of the flags:
Or the how argument can be a string of 0 to 3 of the following
characters in any order. The test performed is the and of the
associated tests and file-exists?.
X
W
R
execl, command must be an exact
pathname of an executable file. execlp searches for
command in the list of directories specified by the environment
variable PATH. The convention is that arg0 is the same name
as command.
If successful, this procedure does not return. Otherwise an error
message is printed and the integer errno is returned.
Like execl and execlp except that the set of arguments to
command is arglist.
NAME=VALUE', the definition is added
to the environment. Otherwise, the string is interpreted as the
name of an environment variable, and any definition for this variable in
the environment is removed.
Names of environment variables are case-sensitive and must not contain
the character =. System-defined environment variables are
invariably uppercase.
Putenv is used to set up the environment before calls to
execl, execlp, execv, execvp, system,
or open-pipe (see open-pipe).
To access environment variables, use getenv (see getenv).