Skip to content

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

Closed
@kim-racktop

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions