// 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
}