Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
Data Fields
ast_test_capture Struct Reference

A capture of running an external process. More...

#include <test.h>

Data Fields

char * errbuf
 buffer holding stderr More...
 
size_t errlen
 length of buffer holding stderr More...
 
int exitcode
 exit code of child More...
 
char * outbuf
 buffer holding stdout More...
 
size_t outlen
 length of buffer holding stdout More...
 
pid_t pid
 process id of child More...
 

Detailed Description

A capture of running an external process.

This contains a buffer holding stdout, another containing stderr, the process id of the child, and its exit code.

Definition at line 217 of file test.h.

Field Documentation

◆ errbuf

char* errbuf

buffer holding stderr

Definition at line 223 of file test.h.

Referenced by AST_TEST_DEFINE().

◆ errlen

size_t errlen

length of buffer holding stderr

Definition at line 225 of file test.h.

Referenced by AST_TEST_DEFINE().

◆ exitcode

int exitcode

exit code of child

Definition at line 229 of file test.h.

Referenced by AST_TEST_DEFINE().

◆ outbuf

char* outbuf

buffer holding stdout

Definition at line 219 of file test.h.

Referenced by AST_TEST_DEFINE().

◆ outlen

size_t outlen

length of buffer holding stdout

Definition at line 221 of file test.h.

Referenced by AST_TEST_DEFINE().

◆ pid

pid_t pid

process id of child

Definition at line 227 of file test.h.

Referenced by AST_TEST_DEFINE().


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