diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-01 23:59:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-02 00:05:36 +0200 |
commit | ae4ff9f359514937878cf82f4ac46dd14aac9056 (patch) | |
tree | dab4f54a6be817401a754e182e3475be773774a7 /tests/utils.scm | |
parent | 00cd41974e9579eccedb948d5eebed442efb600e (diff) | |
download | guix-ae4ff9f359514937878cf82f4ac46dd14aac9056.tar guix-ae4ff9f359514937878cf82f4ac46dd14aac9056.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 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions