blob: dda4bd0feccae6921fb59ae5016f23ae5c6b2e57 [file] [log] [blame]
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build (unix && !linux) || (js && wasm) || wasip1 || windows
package os
import "syscall"
func ensurePidfd(sysAttr *syscall.SysProcAttr) *syscall.SysProcAttr {
return sysAttr
}
func getPidfd(_ *syscall.SysProcAttr) (uintptr, bool) {
return 0, false
}
func pidfdFind(_ int) (uintptr, error) {
return 0, syscall.ENOSYS
}
func (p *Process) pidfdRelease() {}
func (_ *Process) pidfdWait() (*ProcessState, error) {
panic("unreachable")
}
func (_ *Process) pidfdSendSignal(_ syscall.Signal) error {
panic("unreachable")
}