readshort

read 2 bytes from file
     handle    - file hanlde
     mostfirst - 0 least significant byte is first (intel)
                 1 most  significant byte is first
returns: -1 - error
         otherwise: a 16-bit value
Thread-safe function.

long readshort(long handle, long mostfirst);

Index | Previous topic | Next topic