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 Tcgetpgrp(ttyfd int) (int, error) {
func tcgetpgrp(ttyfd int) (int, error) {
// We need to use IoctlGetUint32 here, because pid_t is 32-bit even on
// 64-bit Linux. IoctlGetInt doesn't work on big-endian platforms:
// https://github.com/golang/go/issues/45585