- with the given file handle. If filename is NULL, it is attempted to change
- the mode of the already opened file associated with the given file handle.
- (This function can e.g. be used to reassociate stdin / stdout / stderr with
- a filename.)
- @param filename Name of the file to be opened.
- @param mode One of r, w, a, rb, wb, ab, r+, w+, a+, rb+, wb+, ab+,
- specifying which mode to open the file in.
- @param fh The file handle to associate with the opened file.
- @return fh if successful, NULL if failed.
+ * with the given file handle. If filename is NULL, it is attempted to change
+ * the mode of the already opened file associated with the given file handle.
+ * (This function can e.g. be used to reassociate stdin / stdout / stderr with
+ * a filename.)
+ * @param filename Name of the file to be opened.
+ * @param mode One of r, w, a, rb, wb, ab, r+, w+, a+, rb+, wb+, ab+,
+ * specifying which mode to open the file in.
+ * @param fh The file handle to associate with the opened file.
+ * @return fh if successful, NULL if failed.