initial
[fpgammix.git] / workloads / test-stdio / test-stdio.c
blob5c56e0986ad2c81b6cbcbf472b1494fe6c9d59cf
1 #include "../common/stdio.h"
3 int main()
5 int fd = 0;
7 for (fd = 0; fd <= 1; ++fd) {
8 fprintf(fd, "Hello %s\n", "world!");
9 fprintf(fd, "Hex: 0x%3x\n", 0x1234);
10 fprintf(fd, "Int: %d\n", 1234);
11 fprintf(fd, "Int: %d\n", -1234);
12 fprintf(fd, "Int: %d\n", 0);