Overview  Index  Help 
Standard ML Basis Library

POSIX_TTY


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

pid

type pid = POSIX_Process.pid


file_desc

type file_desc = POSIX_FileSys.file_desc


word

type word = SysWord.word


s_int

type s_int = SysInt.int


termio_rep

type termio_rep = word * word * word * word * V.WV.vector * word * word

 
Datatype detail

speed

datatype speed = B of word


termios

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

B

constructor B : word -> speed


TIOS

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 &


cfun

val cfun


osval

val osval


w_osval

val w_osval


compareSpeed

val compareSpeed


speedToWord

val speedToWord


wordToSpeed

val wordToSpeed


b0

val b0


b50

val b50


b75

val b75


b110

val b110


b134

val b134


b150

val b150


b200

val b200


b300

val b300


b600

val b600


b1200

val b1200


b1800

val b1800


b2400

val b2400


b4800

val b4800


b9600

val b9600


b19200

val b19200


b38400

val b38400


termios

val termios


fieldsOf

val fieldsOf


getiflag

val getiflag


getoflag

val getoflag


getcflag

val getcflag


getlflag

val getlflag


getcc

val getcc


getospeed

val getospeed


getispeed

val getispeed


setospeed

val setospeed


setispeed

val setispeed


tcgetattr

val tcgetattr


getattr

val getattr


tcsetattr

val tcsetattr


setattr

val setattr


tcsendbreak

val tcsendbreak


sendbreak

val sendbreak


tcdrain

val tcdrain


drain

val drain


tcflush

val tcflush


flush

val flush


tcflow

val tcflow


flow

val flow


tcgetpgrp

val tcgetpgrp


getpgrp

val getpgrp


tcsetpgrp

val tcsetpgrp


setpgrp

val setpgrp

 


Overview  Index  Help 
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).