summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-05-01 23:59:05 +0200
committer宋文武 <iyzsong@gmail.com>2016-05-02 22:05:54 +0800
commit29d457c209bbc1a5371025b3247e2db36027c56d (patch)
treedb216316489fbc2d966c52045becd91872a6cbb3 /gnu
parentba369abe588d8420631f3540a51db98f6cc30d93 (diff)
downloadguix-29d457c209bbc1a5371025b3247e2db36027c56d.tar.gz
syscalls: Add 'tcgetattr' and 'tcsetattr' bindings.
* guix/build/syscalls.scm (bits->symbols-body, define-bits)
(local-flags): New macros.
(TCSANOW, TCSADRAIN, TCSAFLUSH): New variables.
(<termios>): New record type.
(%termios): New C structure.
(tcgetattr, tcsetattr): New procedures.
* tests/syscalls.scm ("tcgetattr ENOTTY", "tcgetattr")
("tcsetattr"): New tests.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions