> What is needed is a similar function, perhaps peekd() which
> would return a long. Then we could define a macro get_user_long()

You mean

                unsigned long peekd(unsigned short *x)
                {
                        return peekw(x)(peekw(x+1)<<8);
                }

Reply via email to