Rewrite GetInt syscall
This commit is contained in:
parent
5cccda4af3
commit
3609600063
4 changed files with 8 additions and 8 deletions
|
@ -19,7 +19,7 @@ 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();
|
||||
void GetInt(int * n);
|
||||
private:
|
||||
Console *console;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue