libexplain  1.4.D001
Functions
libexplain/buffer/fildes_to_pathname.h File Reference

Go to the source code of this file.

Functions

void explain_buffer_fildes_to_pathname (struct explain_string_buffer_t *sb, int fildes)

Function Documentation

void explain_buffer_fildes_to_pathname ( struct explain_string_buffer_t sb,
int  fildes 
)

The explain_buffer_fildes_to_pathname function may be used to turn a file descriptor into a pathname, for the improvement of error messages. If no translation is possible, no text is emitted.

Parameters:
sbThe string buffer to place the pathname.
fildesThe file descriptor to decipher

Definition at line 73 of file fildes_to_pathname.c.