Query: explain_fopen_or_die
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
explain_fopen_or_die(3) Library Functions Manual explain_fopen_or_die(3)NAMEexplain_fopen_or_die - open file and report errorsSYNOPSIS#include <libexplain/fopen.h> FILE *explain_fopen_or_die(const char *pathname, const char *flags);DESCRIPTIONThe explain_fopen_or_die() function opens the file whose name is the string pointed to by pathname and associates a stream with it. See fopen(3) for more information. This is a quick and simple way for programs to constitently report file open errors in a consistent and detailed fahion.RETURN VALUEUpon successful completion explain_fopen_or_die returns a FILE pointer. If an error occurs, explain_fopen will be called to explain the error, which will be printed onto stderr, and then the process will termi- nate by calling exit(EXIT_FAILURE).SEE ALSOfopen(3) stream open functions explain_fopen(3) explain fopen(3) errors exit(2) terminate the calling processCOPYRIGHTlibexplain version 0.52 Copyright (C) 2008 Peter MillerAUTHORWritten by Peter Miller <pmiller@opensource.org.au> explain_fopen_or_die(3)
Related Man Pages |
---|
explain_fopen(3) - debian |
explain_freopen_or_die(3) - debian |
explain_mkdir_or_die(3) - debian |
explain_opendir_or_die(3) - debian |
explain_popen_or_die(3) - debian |
Similar Topics in the Unix Linux Community |
---|
fopen and open |
can anyone explain this? |
fopen() - don't know what I'm doing wrong |
Can someone please explain what tr#A-Za-z0-9+/# -_#; means in perl? |
help plz - fopen() |