Next: Pre-Scheme, Previous: C interface, Up: Top
(This chapter was derived from work copyrighted (C) 1993-2005 by Richard Kelsey, Jonathan Rees, and Mike Sperber.)
This chapter describes Scheme48's interface to POSIX C calls. Scheme versions of most of the C functions in POSIX are provided. Both the interface and implementation are new and likely to change significantly in future releases. The implementation may also contain many bugs.
The POSIX bindings are available in several structures:
posix-processesfork, exec, and other process manipulation procedures
posix-process-dataposix-filesposix-i/oposix-timeposix-usersposix-regexpsposixScheme48's POSIX interface differs from scsh [Shivers 94; Shivers 96;
Shivers et al. 04] in several ways. The interface here lacks scsh's
high-level constructs and utilities such as the process notation,
awk facility, and parsing utilities. Scheme48 uses disjoint
types for some values that scsh leaves as symbols or simple integers;
these include file types, file modes, and user & group ids. Many of
the names and other interface details are different as well.