FileIO Schema started
This commit is contained in:
27
runtime/fileIo/fileio.c
Normal file
27
runtime/fileIo/fileio.c
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
#include "fileio.h"
|
||||
|
||||
|
||||
void __attribute__ ((section (".FileIO"))) vx_close()
|
||||
{
|
||||
}
|
||||
|
||||
void __attribute__ ((section (".FileIO"))) vx_fstat()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void __attribute__ ((section (".FileIO"))) vx_isatty()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void __attribute__ ((section (".FileIO"))) vx_read()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void __attribute__ ((section (".FileIO"))) vx_write()
|
||||
{
|
||||
|
||||
}
|
||||
22
runtime/fileIo/fileio.h
Normal file
22
runtime/fileIo/fileio.h
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
#ifndef FILE_IOO
|
||||
|
||||
#define FILE_IOO
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void vx_close();
|
||||
|
||||
void vx_fstat();
|
||||
|
||||
void vx_isatty();
|
||||
|
||||
void vx_read();
|
||||
|
||||
void vx_write();
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user