Update all syscall
And add PutInt() and GetInt()
This commit is contained in:
parent
2b7c7ee780
commit
2a3198c949
7 changed files with 95 additions and 31 deletions
|
@ -18,6 +18,8 @@ class ConsoleDriver:dontcopythis {
|
|||
|
||||
void PutString(const char *s); // Behaves like fputs(3S)
|
||||
void GetString(char *s, int n); // Behaves like fgets(3S)
|
||||
void PutInt(int n);
|
||||
int GetInt();
|
||||
private:
|
||||
Console *console;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue