[comp.sys.sun] SUNCORE

CYBQC@cunyvm.cuny.edu (08/01/90)

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@CUNYVM.CUNY.EDU            75475,122@COMPUSERVE         *