Ruby: waitpid_state Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
waitpid_state Struct Reference

## Data Fields
struct list_node | wnode
rb_execution_context_t * | ec
rb_nativethread_cond_t * | cond
rb_pid_t | ret
rb_pid_t | pid
int | status
int | options
int | errnum

## Detailed Description

Definition at line 1070 of file process.c.

## Field Documentation

## ◆ cond

rb_nativethread_cond_t* waitpid_state::cond

Definition at line 1073 of file process.c.

Referenced by ruby_waitpid_locked().

## ◆ ec

rb_execution_context_t* waitpid_state::ec

Definition at line 1072 of file process.c.

Referenced by rb_process_status_wait(), and ruby_waitpid_locked().

## ◆ errnum

int waitpid_state::errnum

Definition at line 1078 of file process.c.

Referenced by rb_process_status_wait(), and ruby_waitpid_locked().

## ◆ options

int waitpid_state::options

Definition at line 1077 of file process.c.

Referenced by ruby_waitpid_locked().

## ◆ pid

rb_pid_t waitpid_state::pid

Definition at line 1075 of file process.c.

Referenced by rb_process_status_wait(), rb_process_status_waitv(), rb_waitpid(), and ruby_waitpid_locked().

## ◆ ret

rb_pid_t waitpid_state::ret

Definition at line 1074 of file process.c.

Referenced by rb_process_status_wait(), and ruby_waitpid_locked().

## ◆ status

int waitpid_state::status

Definition at line 1076 of file process.c.

Referenced by rb_process_status_wait(), rb_waitpid(), and ruby_waitpid_locked().

## ◆ wnode

struct list_node waitpid_state::wnode

Definition at line 1071 of file process.c.

Referenced by ruby_waitpid_locked().

The documentation for this struct was generated from the following file:

- process.c