Types
IOctl_WinSize = object ws_row*, ws_col*, ws_xpixel*, ws_ypixel*: cushort
- Source Edit
Procs
proc cfGetIspeed(termios: ptr Termios): Speed {.importc: "cfgetispeed", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc cfGetOspeed(termios: ptr Termios): Speed {.importc: "cfgetospeed", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc cfSetIspeed(termios: ptr Termios; speed: Speed): cint {. importc: "cfsetispeed", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc cfSetOspeed(termios: ptr Termios; speed: Speed): cint {. importc: "cfsetospeed", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc ioctl(fd: cint; request: culong; reply: ptr IOctl_WinSize): int {. importc: "ioctl", header: "<stdio.h>", varargs, ...raises: [], tags: [].}
- Source Edit
proc tcDrain(fd: cint): cint {.importc: "tcdrain", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc tcFlow(fd: cint; action: cint): cint {.importc: "tcflow", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc tcFlush(fd: cint; queue_selector: cint): cint {.importc: "tcflush", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit
proc tcGetAttr(fd: cint; termios: ptr Termios): cint {.importc: "tcgetattr", header: "<termios.h>", ...raises: [], tags: [].}
- Source Edit