Those are usually OS specific, e.g. for windows:
http://msdn.microsoft.com/en-us/library/ms681388%28VS.85%29.aspx
ERROR_NOACCESS
998 (0x3E6) Invalid access to memory location.
Probably you blockread into memory that is not mapped/allocated from
windows.