What is wrong with this program?
Bill Crews
bc at cyb-eng.UUCP
Sat Aug 10 13:26:01 AEST 1985
> Why does printf insist that data->ut_line is a null string while
> putchar can display all of the characters of this array?
Well, for one thing, the variable data is never initialized. The fread is
surely clobbering things!
--
/ \ Bill Crews
( bc ) Cyb Systems, Inc
\__/ Austin, Texas
[ gatech | ihnp4 | nbires | seismo | ucb-vax ] ! ut-sally ! cyb-eng ! bc
More information about the Comp.lang.c
mailing list