1
0
mirror of https://github.com/KolibriOS/kolibrios.git synced 2024-12-15 03:12:35 +03:00
kolibrios/programs/cmm/lib/obj/libio.h
Kirill Lipatov (Leency) 72a2097e37 fix menu component (found by tsdima), apps size decrease a bit, improve Appearance preview
git-svn-id: svn://kolibrios.org@7252 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-04-21 12:28:00 +00:00

46 lines
904 B
C

//Asper
#ifndef INCLUDE_LIBIO_H
#define INCLUDE_LIBIO_H
#ifndef INCLUDE_KOLIBRI_H
#include "../lib/kolibri.h"
#endif
#ifndef INCLUDE_DLL_H
#include "../lib/dll.h"
#endif
//library
dword libio = #alibio;
char alibio[] = "/sys/lib/libio.obj"; //"libio.obj";
dword libio_init = #alibio_init;
dword file_size = #afile_size;
dword file_open = #afile_open;
dword file_read = #afile_read;
dword file_close = #afile_close;
$DD 2 dup 0
//import libio , \
char alibio_init[] = "lib_init";
char afile_size[] = "file_size";
char afile_open[] = "file_open";
char afile_read[] = "file_read";
char afile_close[] = "file_close";
//align 4
//dword fh=0;
#define O_BINARY 0
#define O_READ 1
#define O_WRITE 2
#define O_CREATE 4
#define O_SHARE 8
#define O_TEXT 16
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2
#endif