Function gnunet_sys::GNUNET_DISK_file_test[][src]

pub unsafe extern "C" fn GNUNET_DISK_file_test(
    fil: *const c_char
) -> GNUNET_GenericReturnValue

Check that fil corresponds to a filename (of a file that exists and that is not a directory).

@param fil filename to check @return #GNUNET_YES if yes, #GNUNET_NO if not a file, #GNUNET_SYSERR if something else (will print an error message in that case, too).