Add Syscall: Exit, PutChar, GetCar, PutString, GetString
This commit is contained in:
parent
6f405265a5
commit
80fc250109
15 changed files with 359 additions and 17 deletions
13
code/test/getstring.c
Normal file
13
code/test/getstring.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
#include "syscall.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
//char s;
|
||||
//s = GetChar();
|
||||
//PutChar(s);
|
||||
char t[100];
|
||||
GetString(t, 100);
|
||||
PutString(t);
|
||||
PutChar('\n');
|
||||
PutString("Ceci est un test de grande ampleur");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue