#: 8601 S3/Languages
04-Dec-90 20:56:56
Sb: tst prg part 2
Fm: MAS 76336,3226
To: 76703,4230 (X)
PART 2 OF TEST PROGRAM
write(c[0], "name\n", 5);
printf("#### WRITE 1 #### name \\n ...\n");
for(i=0;i<5;i++) /* read from login pipe till pipe is empty */
{ for(;;)
{
ret = getstat(1,c[1]);
if (ret > 0)
{ read(c[1],buffer,1);
printf("SHELL OUTPUT CHR> %c : %x 0)
{ read(c[1],buffer,1);
printf("SHELL OUTPUT CHR> %c : %x 0)
{ read(c[1],buffer,1);
printf("SHELL OUTPUT CHR> %c : %x 0)
{ read(c[1],buffer,1);
printf("SHELL OUTPUT CHR> %c : %x
|