aboutsummaryrefslogtreecommitdiffstats
path: root/framebuffer.c
blob: 9902fa1a5aa8b8658607653787fc86cb67e85879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include<stdio.h>
#include<stdlib.h>

int main( void ) {
    printf("Here goes nothing!");
    getchar();
    FILE *fbp = fopen( "/dev/fb0", "w");
    int i;
    for( i = 0; i < 1044480; i++ )
        fputc(i, fbp);
    fclose( fbp );
}