liblouis: lou_readCharFromFile

1 
1 6.21 lou_readCharFromFile
1 =========================
1 
1      int lou_readCharFromFile (const char *fileName, int *mode);
1 
1    This function is provided for situations where it is necessary to
1 read a file which may contain little-endian or big-endian 16-bit Unicode
1 characters or ASCII8 characters.  The return value is a little-endian
1 character, encoded as an integer.  The 'fileName' parameter is the name
1 of the file to be read.  The 'mode' parameter is a pointer to an integer
1 which must be set to 1 on the first call.  After that, the function
1 takes care of it.  On end-of-file the function returns 'EOF'.
1