libexplain  1.4.D001
Functions
libexplain/buffer/fildes.c File Reference
#include <libexplain/ac/fcntl.h>
#include <libexplain/ac/limits.h>
#include <libexplain/ac/stdio.h>
#include <libexplain/ac/stdlib.h>
#include <libexplain/ac/string.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/ac/unistd.h>
#include <libexplain/buffer/fildes.h>
#include <libexplain/buffer/fildes_to_pathname.h>
#include <libexplain/open.h>

Go to the source code of this file.

Functions

void explain_buffer_fildes (explain_string_buffer_t *sb, int fildes)
int explain_parse_fildes_or_die (const char *text, const char *caption)

Function Documentation

void explain_buffer_fildes ( explain_string_buffer_t sb,
int  value 
)

The explain_buffer_fildes function may be used to print a representation of a file descriptor value.

Parameters:
sbThe string buffer to print into.
valueThe file descriptor value to be printed.

Definition at line 34 of file fildes.c.

int explain_parse_fildes_or_die ( const char *  text,
const char *  caption 
)

Definition at line 57 of file fildes.c.