Source File
pidfd_linux.go
Belonging Package
internal/syscall/unix
// 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.
package unix
import
func ( uintptr, syscall.Signal) error {
, , := syscall.Syscall(pidfdSendSignalTrap, , uintptr(), 0)
if != 0 {
return
}
return nil
}
func (, int) (uintptr, error) {
, , := syscall.Syscall(pidfdOpenTrap, uintptr(), uintptr(), 0)
if != 0 {
return ^uintptr(0),
}
return uintptr(), nil
}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)