mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Added int argc and char** argv
This commit is contained in:
+1
-2
@@ -117,8 +117,7 @@ void read(char* buffer) {
|
||||
}
|
||||
}
|
||||
|
||||
buffer[len++] = c; // Add newline
|
||||
putc(c);
|
||||
putc(c); // Print the newline
|
||||
buffer[len] = '\0'; // Null terminate
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user