diff options
author | EliteTK <tomasz.kramkowski@gmail.com> | 2014-02-24 23:45:34 +0000 |
---|---|---|
committer | EliteTK <tomasz.kramkowski@gmail.com> | 2014-02-24 23:45:34 +0000 |
commit | 420ef6622d9e8de96ffc1843b9b4c3c3ea87b1c9 (patch) | |
tree | 6dbb718d7af8461f1d8e369106e49b5310109d99 | |
parent | 477200e28b533c1ab4552f21245ba697ca4e1288 (diff) | |
download | c-stuff-420ef6622d9e8de96ffc1843b9b4c3c3ea87b1c9.tar.gz c-stuff-420ef6622d9e8de96ffc1843b9b4c3c3ea87b1c9.tar.xz c-stuff-420ef6622d9e8de96ffc1843b9b4c3c3ea87b1c9.zip |
Silly idea
-rw-r--r-- | framebuffer.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/framebuffer.c b/framebuffer.c new file mode 100644 index 0000000..9902fa1 --- /dev/null +++ b/framebuffer.c @@ -0,0 +1,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 ); +} + + |