mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Add extended baud rates to posix/termios (#8322)
115200 is really common. I'd like to get support in nimserial, but I'm guessing it would help to have support in the stdlib first.
This commit is contained in:
committed by
Varriount
parent
2ac22b4cf0
commit
f8723cd1e3
@@ -122,6 +122,21 @@ var
|
||||
B9600* {.importc, header: "<termios.h>".}: Speed
|
||||
B19200* {.importc, header: "<termios.h>".}: Speed
|
||||
B38400* {.importc, header: "<termios.h>".}: Speed
|
||||
B57600* {.importc, header: "<termios.h>".}: Speed
|
||||
B115200* {.importc, header: "<termios.h>".}: Speed
|
||||
B230400* {.importc, header: "<termios.h>".}: Speed
|
||||
B460800* {.importc, header: "<termios.h>".}: Speed
|
||||
B500000* {.importc, header: "<termios.h>".}: Speed
|
||||
B576000* {.importc, header: "<termios.h>".}: Speed
|
||||
B921600* {.importc, header: "<termios.h>".}: Speed
|
||||
B1000000* {.importc, header: "<termios.h>".}: Speed
|
||||
B1152000* {.importc, header: "<termios.h>".}: Speed
|
||||
B1500000* {.importc, header: "<termios.h>".}: Speed
|
||||
B2000000* {.importc, header: "<termios.h>".}: Speed
|
||||
B2500000* {.importc, header: "<termios.h>".}: Speed
|
||||
B3000000* {.importc, header: "<termios.h>".}: Speed
|
||||
B3500000* {.importc, header: "<termios.h>".}: Speed
|
||||
B4000000* {.importc, header: "<termios.h>".}: Speed
|
||||
EXTA* {.importc, header: "<termios.h>".}: Speed
|
||||
EXTB* {.importc, header: "<termios.h>".}: Speed
|
||||
CSIZE* {.importc, header: "<termios.h>".}: Cflag
|
||||
|
||||
Reference in New Issue
Block a user