terminal: unexport tcgetpgrp, tcsetpgrp and getpgrp

This commit is contained in:
Michael Eischer
2025-09-08 10:55:58 +02:00
parent e7890d7b81
commit b71b77fa77
8 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ package terminal
import "golang.org/x/sys/unix"
func Tcsetpgrp(fd int, pid int) error {
func tcsetpgrp(fd int, pid int) error {
// The second argument to IoctlSetPointerInt has type int on AIX,
// but the constant overflows 64-bit int, hence the two-step cast.
req := uint(unix.TIOCSPGRP)