... / ...
Commit | Line | Data |
| 1 | #include <stdio.h> |
| 2 | #include <string.h> |
| 3 | |
| 4 | #define RUNS 10000000UL |
| 5 | int main (void) |
| 6 | { |
| 7 | unsigned long i; |
| 8 | char *s1="stuff1"; |
| 9 | char *s2="stuff2"; |
| 10 | int l1=strlen(s1); |
| 11 | int l2=strlen(s2); |
| 12 | |
| 13 | for (i=0;i<RUNS;i++) |
| 14 | { |
| 15 | fwrite(s1,l1,1,stdout); |
| 16 | fwrite(" ",1,1,stdout); |
| 17 | fwrite(s2,l2,1,stdout); |
| 18 | fwrite("\n",1,1,stdout); |
| 19 | } |
| 20 | return 0; |
| 21 | } |
This page took 0.105882 seconds and 4 git commands to generate.