Scheme 48 Manual | Contents | In Chapter: Access to POSIX
Previous: Regular expressions | Next: ASCII character encoding

C to Scheme correspondence

The following table lists the Scheme procedures that correspond to particular C procedures. Not all of the Scheme procedures listed are part of the POSIX interface.
C procedure Scheme procedure(s)
accessaccessible?
chdirset-working-directory!
closeclose-input-port, close-output-port,
close-channel, close-socket
closedirclose-directory-stream
creatopen-file
ctimetime->string
dupdup, dup-switching-mode
dup2dup2
exec[l|v][e|p|eps] exec, exec-with-environment,
exec-file, exec-file-with-environment,
exec-with-alias
_exitexit
fcntlio-flags, set-io-flags!,
close-on-exec, set-close-on-exec!
forkfork, fork-and-forget
fstatget-port-info
getcwdworking-directory
getegidget-effective-group-id
getenvlookup-environment-variable,
environment-alist
geteuidget-effective-user-id
getgidget-group-id
getgroupsget-groups
getloginget-login-name
getpidget-process-id
getppidget-parent-process-id
getuidget-user-id
isattyport-is-a-terminal?
linklink
lstatget-file/link-info
mkdirmake-directory
mkfifomake-fifo
openopen-file
opendiropen-directory-stream
pipeopen-pipe
readread-char, read-block
readdirread-directory-stream
renamerename
rmdirremove-directory
setgidset-group-id!
setuidset-user-id!
statget-file-info
timecurrent-time
ttynameport-terminal-name
umaskset-file-creation-mask!
unameos-name, os-node-name,
os-release-name, os-version-name,
machine-name
unlinkunlink
waitpidwait-for-child-process
writewrite-char, write-block

Previous: Regular expressions | Next: ASCII character encoding