5 struct thread_master
*master
;
8 main(int argc
, char **argv
)
10 struct buffer
*b1
, *b2
;
17 if ((argc
!= 2) || (sscanf(argv
[1], "%d%1s", &n
, junk
) != 1))
19 fprintf(stderr
, "Usage: %s <number of chars to simulate>\n", *argv
);
24 b2
= buffer_new(1024);
28 buffer_put(b1
, &c
, 1);
29 buffer_put(b2
, &c
, 1);