[][src]Function xdrfile::c_abi::xdrfile::xdrfile_read_string

pub unsafe extern "C" fn xdrfile_read_string(
    ptr: *mut c_char,
    maxlen: c_int,
    xfp: *mut XDRFILE
) -> c_int

\brief Read a string (array of characters)

\param ptr Pointer to memory where data should be written \param maxlen Maximum length of string. If no end-of-string is encountered, one byte less than this is read and end-of-string appended. \param xfp Handle to portable binary file, created with xdrfile_open()

\return Number of characters read, including end-of-string