tcgetattr function

  1. @Native<Int Function(Int, Pointer<Void>)>(Int, Pointer<Void>)>(isLeaf: true)
int tcgetattr(
  1. int fd,
  2. Pointer<Void> termios
)

tcgetattr(3): reads the attributes of the terminal fd into termios; 0, or -1.

Implementation

@Native<Int Function(Int, Pointer<Void>)>(isLeaf: true)
external int tcgetattr(int fd, Pointer<Void> termios);