Is there a known problem / fix for int21 function 68h ??

I am getting an error return under Dosemu + kernel 2035 in a CodeBase function file4lowFlush()

The code is (OpenWatcom 1.3, 386 mode):
   dosFlush.h.ah = 0x68 ;
   dosFlush.x.bx = (unsigned int)file->hand ;
   intdos( &dosFlush, &dosFlush ) ;
   if ( dosFlush.x.cflag != 0 )
     ...

From RBIL
--------D-2168-------------------------------
INT 21 - DOS 3.3+ - "FFLUSH" - COMMIT FILE
AH = 68h
BX = file handle
Return: CF clear if successful
all data still in DOS disk buffers is written to disk immediately,
and the file's directory entry is updated
CF set on error
AX = error code (see #01680 at AH=59h/BX=0000h)
SeeAlso: AX=5D01h,AH=6Ah,INT 2F/AX=1107h
-----------------------------------------


Alain


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Freedos-kernel mailing list Freedos-kernel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to