]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libbio/btestprint.c
ether82563: support for i211 with iNVM. (thanks mfny and brennan for testing)
[plan9front.git] / sys / src / libbio / btestprint.c
1 #include <u.h>
2 #include <libc.h>
3 #include <bio.h>
4
5 void
6 main(int argc, char **argv)
7 {
8         Biobuf b;
9         char *s;
10         int n;
11
12
13         n = atoi(argv[1]);
14         s = malloc(n+1);
15         memset(s, 'a', n);
16         s[n] = '\0';
17         Binit(&b, 1, OWRITE);
18         Bprint(&b, "%s\n", s);
19         Bflush(&b);
20 }