D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
3206095
/
root
/
opt
/
golang
/
1.22.0
/
src
/
internal
/
syscall
/
unix
/
Filename :
pidfd_linux.go
back
Copy
// 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 "syscall" func PidFDSendSignal(pidfd uintptr, s syscall.Signal) error { _, _, errno := syscall.Syscall(pidfdSendSignalTrap, pidfd, uintptr(s), 0) if errno != 0 { return errno } return nil }