Hi, Just wanted to clear up a minor ambiguity. For ov_open(), on failure, the file needs to be closed by fclose() instead of ov_clear(). Is this the same case on failure for ov_test(), or is ov_clear() used for both a success and failure with ov_test()? The documentation suggests that ov_clear() is always used, but it seemed odd seeing the ov_open() documentation state the failure exception. - Robert Hui
On 10/19/05, Robert Hui <legatek@gmail.com> wrote:> Hi, > > Just wanted to clear up a minor ambiguity. For ov_open(), on failure, the > file needs to be closed by fclose() instead of ov_clear(). > Is this the same case on failure for ov_test(), or is ov_clear() used for > both a success and failure with ov_test()?You should use fclose() for this case, it works the same as ov_open(). Mike