Skip to content

proposal: x/sys: add posix tc... functions #12853

Description

@kim-racktop

Continuing along the lines of adding terminal support, I propose to add the functions:

Tcdrain
Tcflow
Tcflush
Tcgetattr
Tcgetpgrp
Tcgetsid
Tcsendbreak
Tcsetattr
Tcsetpgrp

Along with constant definitions for:

TCIOFF
TCION
TCOOFF
TCOON
TCSADRAIN
TCSANOW

The source changes are fairly trivial and I have tested them for solaris. Adding this code to x/sys/unix means that you don't need to have cgo code in a higher level terminal package.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions