syscalls: isatty

This commit is contained in:
Matheus
2023-07-04 20:19:15 -03:00
parent 51446cdd37
commit 04a5aa4bc6
8 changed files with 59 additions and 11 deletions
+6 -1
View File
@@ -153,9 +153,14 @@ static int write(int minor, void *buffer, size_t size, uintmax_t offset, int fla
return 0;
}
static int isatty(int minor) {
return 0;
}
static devops_t devops = {
.write = write,
.read = read
.read = read,
.isatty = isatty
};
void console_init() {