1package uv
2
3import "os"
4
5// OpenTTY opens the terminal's input and output file descriptors.
6// It returns the input and output files, or an error if the terminal is not
7// available.
8//
9// This is useful for applications that need to interact with the terminal
10// directly while piping or redirecting input/output.
11func OpenTTY() (inTty, outTty *os.File, err error) {
12 return openTTY()
13}
14
15// Suspend suspends the current process group.
16func Suspend() error {
17 return suspend()
18}