1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien.syntax kernel system unix ;
4 IN: io.serial.unix.termios
10 TYPEDEF: uint tcflag_t
13 { "tcflag_t" "iflag" } ! input mode flags
14 { "tcflag_t" "oflag" } ! output mode flags
15 { "tcflag_t" "cflag" } ! control mode flags
16 { "tcflag_t" "lflag" } ! local mode flags
17 { "cc_t" "line" } ! line discipline
18 { { "cc_t" NCCS } "cc" } ! control characters
19 { "speed_t" "ispeed" } ! input speed
20 { "speed_t" "ospeed" } ; ! output speed