SUNCORE

CYBQC at cunyvm.cuny.edu CYBQC at cunyvm.cuny.edu
Wed Aug 1 12:37:03 AEST 1990


I have a big project due next week, and I am stuck at an impass, and would
appreciate any helped emailed to me as soon as possible.  I need to get
input into a suncore program on a sparc.  I have everything initialized,
and I think it is working, but I can't get the data out...  here's the
setup so far (everything not mentioned is initialized  (i think))

char *input_string; int *length;
await_keyboard (40000,1,&input,&length);
   switch  (&input_length)
{ case 'l':

and so on. I believe the await_k is working as there is a delay, but I
can't seem to get the value entered.  What is wrong? I've tried using
*inp... in the switch and other combos, but those just give me core dumps,
is there something else I should know?  Or perhaps a different way?

*                     Stephen 'Cyberpunk' Leavitt                       *
*         CYBQC at CUNYVM.CUNY.EDU            75475,122 at COMPUSERVE         *



More information about the Comp.sys.sun mailing list