diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-12-07 18:26:11 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-12-07 18:26:11 +0100 |
commit | 9e111db4535b3cd5729e37294ae51d95240334b4 (patch) | |
tree | cc90a9de80ff39bd93426b763918d904abfeeb56 /guix/build | |
parent | 92b61d3e1bb50f0c1d087bc8d57cc00c3ce360df (diff) | |
parent | cf69135d5e6797e566b8bb18419ae9e3c8aeb621 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'guix/build')
-rw-r--r-- | guix/build/syscalls.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/guix/build/syscalls.scm b/guix/build/syscalls.scm index e5779cbd0b..0cb630cfb3 100644 --- a/guix/build/syscalls.scm +++ b/guix/build/syscalls.scm @@ -119,6 +119,7 @@ termios-input-speed termios-output-speed local-flags + input-flags tcsetattr-action tcgetattr tcsetattr @@ -1704,6 +1705,24 @@ given an integer, returns the list of names of the constants that are or'd." (define IEXTEN #o0100000) (define EXTPROC #o0200000)) +(define-bits input-flags + input-flags->symbols + (define IGNBRK #o0000001) + (define BRKINT #o0000002) + (define IGNPAR #o0000004) + (define PARMRK #o0000010) + (define INPCK #o0000020) + (define ISTRIP #o0000040) + (define INLCR #o0000100) + (define IGNCR #o0000200) + (define ICRNL #o0000400) + (define IUCLC #o0001000) + (define IXON #o0002000) + (define IXANY #o0004000) + (define IXOFF #o0010000) + (define IMAXBEL #o0020000) + (define IUTF8 #o0040000)) + ;; "Actions" values for 'tcsetattr'. (define-bits tcsetattr-action %unused-tcsetattr-action->symbols |