mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-26 09:35:52 +00:00
- Add proper newlines at end of select_darwin.go and select_linux.go - Resolves gofmt formatting issues in CI - Ensures all Go files follow standard formatting conventions
12 lines
316 B
Go
12 lines
316 B
Go
//go:build linux
|
|
// +build linux
|
|
|
|
package session
|
|
|
|
import "syscall"
|
|
|
|
// selectCall wraps syscall.Select for Linux (returns count and error)
|
|
func selectCall(nfd int, r *syscall.FdSet, w *syscall.FdSet, e *syscall.FdSet, timeout *syscall.Timeval) error {
|
|
_, err := syscall.Select(nfd, r, w, e, timeout)
|
|
return err
|
|
}
|