<commit_before>package osutils

import (
	"syscall"

	"github.com/opencontainers/runc/libcontainer/utils"
)

// Exit is the wait4 information from an exited process
type Exit struct {
	Pid    int
	Status int
}

// Reap reaps all child processes for the calling process and returns their
// exit information
func Reap() (exits []Exit, err error) {<commit_msg>WNOHANG is not supported on windows.<commit_after>// +build !windows

package osutils

import (
	"syscall"

	"github.com/opencontainers/runc/libcontainer/utils"
)

// Exit is the wait4 information from an exited process
type Exit struct {
	Pid    int
	Status int
}

// Reap reaps all child processes for the calling process and returns their
// exit information
func Reap() (exits []Exit, err error) {
{'fraction_non_alphanumeric': 0.08563899868247694, 'fraction_numerical': 0.002635046113306983, 'mean_word_length': 3.9673202614379086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5585616', 'n_tokens_mistral': 242, 'n_tokens_neox': 229, 'n_words': 90}