| Standard ML Basis Library |
structure POSIX_TTY =
struct
structure FS = POSIX_FileSys
structure P = POSIX_Process
structure I =
struct
datatype flags = F of word
val fromWord
val toWord
val flags
val anySet
val allSet
val brkint
val icrnl
val ignbrk
val igncr
val ignpar
val inlcr
val inpck
val istrip
val ixoff
val ixon
val parmrk
end
structure O =
struct
datatype flags = F of word
val fromWord
val toWord
val flags
val anySet
val allSet
val opost
end
structure C =
struct
datatype flags = F of word
val fromWord
val toWord
val flags
val anySet
val allSet
val clocal
val cread
val csize
val cs5
val cs6
val cs7
val cs8
val cstopb
val hupcl
val parenb
val parodd
end
structure L =
struct
datatype flags = F of word
val fromWord
val toWord
val flags
val anySet
val allSet
val echo
val echoe
val echok
val echonl
val icanon
val iexten
val isig
val noflsh
val tostop
end
structure V =
struct
structure WV = Word8Vector
structure WA = Word8Array
structure B = Byte
datatype cc = CC of WV.vector
val nccs
val eof
val eol
val erase
val intr
val kill
val min
val quit
val susp
val time
val start
val stop
val mkCC
val cc
val update
val sub
end
structure TC =
struct
datatype set_action = SA of s_int
datatype flow_action = FA of s_int
datatype queue_sel = QS of s_int
val sanow
val sadrain
val saflush
val ooff
val oon
val ioff
val ion
val iflush
val oflush
val ioflush
end
type pid = POSIX_Process.pid
type file_desc = POSIX_FileSys.file_desc
type word = SysWord.word
type s_int = SysInt.int
type termio_rep = word * word * word * word * V.WV.vector * word * word
datatype speed = B of word
datatype termios =
TIOS of
{
iflag : I.flags,
oflag : O.flags,
cflag : C.flags,
lflag : L.flags,
cc : V.cc,
ispeed : speed,
ospeed : speed
}
val ++
val &
val cfun
val osval
val w_osval
val compareSpeed
val speedToWord
val wordToSpeed
val b0
val b50
val b75
val b110
val b134
val b150
val b200
val b300
val b600
val b1200
val b1800
val b2400
val b4800
val b9600
val b19200
val b38400
val termios
val fieldsOf
val getiflag
val getoflag
val getcflag
val getlflag
val getcc
val getospeed
val getispeed
val setospeed
val setispeed
val tcgetattr
val getattr
val tcsetattr
val setattr
val tcsendbreak
val sendbreak
val tcdrain
val drain
val tcflush
val flush
val tcflow
val flow
val tcgetpgrp
val getpgrp
val tcsetpgrp
val setpgrp
end
Type detail |
---|
type pid = POSIX_Process.pid
type file_desc = POSIX_FileSys.file_desc
type word = SysWord.word
type s_int = SysInt.int
type termio_rep = word * word * word * word * V.WV.vector * word * word
Datatype detail |
---|
datatype termios =
TIOS of
{
iflag : I.flags,
oflag : O.flags,
cflag : C.flags,
lflag : L.flags,
cc : V.cc,
ispeed : speed,
ospeed : speed
}
DataConstructor detail |
---|
constructor TIOS
: {
iflag : I.flags,
oflag : O.flags,
cflag : C.flags,
lflag : L.flags,
cc : V.cc,
ispeed : speed,
ospeed : speed
} ->
termios
Value detail |
---|
val ++
val &
val cfun
val osval
val w_osval
val compareSpeed
val speedToWord
val wordToSpeed
val b0
val b50
val b75
val b110
val b134
val b150
val b200
val b300
val b600
val b1200
val b1800
val b2400
val b4800
val b9600
val b19200
val b38400
val termios
val fieldsOf
val getiflag
val getoflag
val getcflag
val getlflag
val getcc
val getospeed
val getispeed
val setospeed
val setispeed
val tcgetattr
val getattr
val tcsetattr
val setattr
val tcsendbreak
val sendbreak
val tcdrain
val drain
val tcflush
val flush
val tcflow
val flow
val tcgetpgrp
val getpgrp
val tcsetpgrp
val setpgrp
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |