summaryrefslogtreecommitdiff
path: root/anim/tools/hello.c
blob: 8f3bb7dcc820aeb59da52e4468823af4b1009a33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <fcntl.h>
#include <unistd.h>

int main(void) {
    char buf[32];
    int f = open("note", 0);
    int n = read(f, buf, 32);
    close(f);
    write(1, buf, n);
    return 0;
}