Commit | Line | Data |
---|---|---|
1 | #include <string.h> | |
2 | ||
3 | #define RUNS 10000000UL | |
4 | int main (void) | |
5 | { | |
6 | unsigned long i; | |
7 | char *s1="stuff1"; | |
8 | char *s2="stuff2"; | |
9 | int l1=strlen(s1); | |
10 | int l2=strlen(s2); | |
11 | ||
12 | for (i=0;i<RUNS;i++) | |
13 | { | |
14 | write(1,s1,l1); | |
15 | write(1," ",1); | |
16 | write(1,s2,l2); | |
17 | write(1,"\n",1); | |
18 | } | |
19 | return 0; | |
20 | } |