Got the File IO tests up and running over ethernet.
[akaros.git] / user / apps / parlib / clrscrn.c
1 #include <stdio.h>
2 #include <unistd.h>
3 #include <arch/kbdreg.h>
4
5 #define CRT_ROWS        25
6 #define CRT_COLS        80
7 #define CRT_SIZE        (CRT_ROWS * CRT_COLS)
8
9 void clrscrn(int leaverows) {
10 for(int i=0; i<(CRT_ROWS-leaverows-1); i++)
11         write(STDOUT_FILENO, "\n", 1);
12 }