Clib create_file, read_file, write_file: watcom-specific implementation

git-svn-id: svn://kolibrios.org@711 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2008-02-05 06:08:42 +00:00
parent 039660a246
commit 54786d007d
10 changed files with 1184 additions and 1011 deletions

View File

@@ -36,6 +36,7 @@
#include "seterrno.h"
#include "qread.h"
#include <stdio.h>
#include "kolibri.h"
typedef struct
{
@@ -43,9 +44,6 @@ typedef struct
unsigned int offset;
}__file_handle;
int _stdcall read_file (const char *name,char *buff,unsigned offset, unsigned count,unsigned *reads);
int __qread( int handle, void *buffer, unsigned len )
{
__file_handle *fh;