File: noi64.c

package info (click to toggle)
unace-nonfree 2.5-10
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 2,044 kB
  • sloc: ansic: 14,564; makefile: 48; sh: 32; cpp: 21
file content (27 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (8)
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);
}