Checks the return value from a fopen-style function and throws using an explicit saved errno.
Declared in <folly/Exception.h>
template<class... Args>
void
checkFopenErrorExplicit(
FILE* fp,
int savedErrno,
Args&&... args);
| Name | Description |
|---|---|
| fp | The FILE* returned by the fopen-style call. |
| savedErrno | The previously saved error number to report. |
| args | Components concatenated into the failure message. |