2024-02-26 20:41:13 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
|
|
|
#include "platform.h"
|
|
|
|
#include "encoding.h"
|
|
|
|
#include "semihosting.h"
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2024-05-31 08:55:49 +02:00
|
|
|
char new[]="/scratch/gabriel/Documents/test_file";
|
|
|
|
//puts(new);
|
|
|
|
//char buf[10];
|
|
|
|
printf("TEST!!!");
|
|
|
|
//int fh = open(new, 0, 0);
|
|
|
|
//unlink(new);
|
|
|
|
//read(fh, buf, 10);
|
|
|
|
//printf(buf);
|
|
|
|
//read(fh, buf, 10);
|
2024-02-26 20:41:13 +01:00
|
|
|
return 0;
|
|
|
|
}
|