libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
int | explain_buffer_check_fildes_range (explain_string_buffer_t *sb, int fildes, const char *caption) |
int explain_buffer_check_fildes_range | ( | explain_string_buffer_t * | sb, |
int | fildes, | ||
const char * | caption | ||
) |
The explain_buffer_check_fildes_range function may be used to check that a file descriptor is within the acceptable range, and print an explanation if it is not.
sb | The string buffer to print into. |
fildes | The file descriptor value to be checked. |
caption | The name of the function call argument containg the file descriptor value to be checked. |
Definition at line 71 of file check_fildes_range.c.