[][src]Function molconv::xdr::c_abi::xdrfile::xdrfile_open

pub unsafe extern "C" fn xdrfile_open(
    path: *const c_char,
    mode: *const c_char
) -> *mut XDRFILE

\brief Open a portable binary file, just like fopen()

Use this routine much like calls to the standard library function fopen(). The only difference is that the returned pointer should only be used with routines defined in this header.

\param path Full or relative path (including name) of the file \param mode "r" for reading, "w" for writing, "a" for append.

\return Pointer to abstract xdr file datatype, or NULL if an error occurs.