The Standard ML Basis Library


The Posix structure

This optional structure contains several substructures that are useful for interfacing to POSIX operating systems. For more complete information on the semantics of the types and functions provided in Posix, see the POSIX standard document (IEEE 1003.1b-1993).


Synopsis

signature POSIX
structure Posix : POSIX

Interface

structure Error : POSIX_ERROR
structure Signal : POSIX_SIGNAL
structure Process : POSIX_PROCESS
structure ProcEnv : POSIX_PROC_ENV
structure FileSys : POSIX_FILE_SYS
structure IO : POSIX_IO
structure SysDB : POSIX_SYS_DB
structure TTY : POSIX_TTY

Description

structure Error
Errors and their descriptions.

structure Signal
Signal values and their associated numbers.

structure Process
Processes: fork, exec, wait, exit, kill, alarm, pause, sleep.

structure ProcEnv
User and group ID's, process times, environment, etc.

structure FileSys
File system: open, chdir, chmod, directories, etc.

structure IO
Input/output: read, write, pipe, dup, close, lock, seek, sync, etc.

structure SysDB
Password database, group database, etc.

structure TTY
Teletype (TTY) control: speed, attributes, drain, flush, etc.


Discussion

Question:

How can we use SGML to move the TTY comment next to its spec? Maybe by attaching the SHARING constraints to the SIGBODY.

Question:

There are various values allowed in C header files and/or are specified by Posix as compile-time constants, e.g., POSIX_VERSION, POSIX_TIMERS, etc. Should we support these?

See Also

Posix.Error, Posix.Signal, Posix.Process, Posix.ProcEnv, Posix.FileSys, Posix.IO, Posix.SysDB, Posix.TTY

[ INDEX | TOP | Parent | Root ]

Last Modified April 9, 1996
Copyright © 1996 AT&T