libexplain  1.4.D001
Functions
libexplain/buffer/wait_status.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_wait_status (explain_string_buffer_t *sb, int status)

Function Documentation

void explain_buffer_wait_status ( explain_string_buffer_t sb,
int  status 
)

The explain_buffer_wait_status function may be used to decode a status value returned by wait(2) et al, and print it on the given string buffer.

Parameters:
sbThe string buffer to print into
statusThe status value to decode. See wait(2) for more information.

Definition at line 30 of file wait_status.c.