1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#ifdef __HAS_IO_H__
#include <io.h>
#endif
#include <stdio.h>
#include <string.h>
#define INCL_BASE_DOSFUNCS
#include "base/all/includes.h"
/*-----------------BASE_DOSFUNCS_LSeek-----------------------------------*/
LONGLONG
BASE_DOSFUNCS_LSeek(INT Handle, LONGLONG Offset, INT Origin)
{
return lseek(Handle, (INT)Offset, Origin);
}
/*-----------------BASE_DOSFUNCS_Tell------------------------------------*/
LONGLONG
BASE_DOSFUNCS_Tell(INT Handle)
{
return lseek(Handle, 0, SEEK_CUR);
}
|