// Copyright 2024 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 (
	
	
)

const (
	P_PID   = 1
	P_PIDFD = 3
)

func ( int,  int,  *SiginfoChild,  int,  *syscall.Rusage) error {
	, ,  := syscall.Syscall6(syscall.SYS_WAITID, uintptr(), uintptr(), uintptr(unsafe.Pointer()), uintptr(), uintptr(unsafe.Pointer()), 0)
	if  != 0 {
		return 
	}
	return nil
}