code: def setraw(fd, when=TCSAFLUSH):
      """Put terminal into a raw mode."""
      mode = tcgetattr(fd)
      mode[IFLAG] = mode[IFLAG] & ~(
          BRKINT | ICRNL | INPCK | ISTRIP | IXON
      )
      mode[OFLAG] = mode[OFLAG] & ~(OPOST)
      mode[CFLAG] = mode[CFLAG] & ~(CSIZE | PARENB)
      mode[CFLAG] = mode[CFLAG] | CS8
      mode[LFLAG] = mode[LFLAG] & ~(ECHO | ICANON | IEXTEN | ISIG)
      mode[CC][VMIN] = 1
      mode[CC][VTIME] = 0
      tcsetattr(fd, when, mode)
  
label_desc: Use image node_id 1 for calling a global function with example usage: setraw(fd, when) without return types