James wrote:

> void next_1 (line **in)
> {
>     /* this is where i am having difficulties, gcc gives this error:
>          passback.c:9: request for member `next' in something not a structure 
>          or union */
>       *in = in->next;

Try

        *in = (*in)->next;

`in' is a pointer to a pointer; `*in' is a pointer to a `line'.

> anybody recommend a good Linux/unix C book? one that covers linux/unix related
> things like processes etc.

        Advanced Programming in the Unix(R) Environment
        W Richard Stevens
        Addison Wesley, 1992
        ISBN: 0-201-56317-7

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to