Manual Reference Pages - EXPLAIN_FREOPEN_OR_DIE (3)
explain_freopen_or_die - open file and report errors
void explain_freopen_or_die(const char *pathname, const char *flags,
The explain_freopen_or_die function is used to reopen a file via
the I]freopen(3) system call. On failure it will print an
explanation, obtained from the I]linexplain_freopen(3) function,
on the standard error stream and then exit.
This function is intended to be used in a fashion similar to the
explain_freopen_or_die(pathname, flags, fp);
The pathname, exactly as to be passed to the I]freopen(3) system call.
The flags, exactly as to be passed to the I]freopen(3) system call.
The fp, exactly as to be passed to the I]freopen(3) system call.
Only ever return on success.
Never returns on failure.
libexplain version 1.3
Copyright © 2008 Peter Miller
Written by Peter Miller <email@example.com>
| ||EXPLAIN_FREOPEN_OR_DIE (3) ||--> |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.