|
libexplain
1.4.D001
|
#include <libexplain/ac/stdio.h>Go to the source code of this file.
Functions | |
| int | explain_stream_to_fildes (FILE *fp) |
| int explain_stream_to_fildes | ( | FILE * | fp | ) |
The explain_stream_to_fildes function may be used to obtain a file descriptor from a stream pointer. Care is taken to avoid segfaults, hence this wrapper around fileno(3).
| fp | The stream of interest |
Definition at line 25 of file stream_to_fildes.c.
1.7.6.1