roseman@cs-sun-fsa.cpsc.ucalgary.ca (Mark Roseman) (05/03/91)
this seems fairly strange; i've got a short driver program for some routines i'm writing. all it does is a series of printf/fgets calls to get some initial settings from the user. however, it appears there's tons of null characters in the buffer already, as my fgets calls just return null strings. i've tried fflush and that doesn't work. the source works ok on our unix box here... am i missing any initialization routines (i'm not doing any of the toolbox init calls)? i'm linking in the library "ANSI" on top of MacTraps. -- ============================================================================== Mark Roseman Dept. of Computer Science, University of Calgary, Calgary, Alta. T2N 1N4 (403) 220-5769 roseman@cpsc.ucalgary.ca {ubc-cs|alberta}!calgary!roseman