Thanks Mike,
Re-reading my post I realized that I
forgot to ask my question. When is the proper
time to use one over the other? The copy_to_user
seem to have less overhead since it's not in a while
loop but if it's not going to be used anymore, I guess
I should use put_user.
Thanks,
Kenny
Michael O'Donnell wrote:
> copy_to_user() is apparently deprecated.
>
> In the 2.4 sources that I looked at, there are still
> plenty of instances of copy_to_user() but they now
> seem (via macro expansion) to be invoking put_user()
> which does now perform a bit of safety checking.
>
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************