lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] uaccess: add copy_word_from_user
On Wed, 25 Feb 2009 22:40:19 +0100
Frederic Weisbecker <fweisbec@gmail.com> wrote:

> Why not expand it to a copy_delimited_from_user() ?
> This way we could use any separator we want, not just spaces.
> We could use one more parameter for the separator and
> copy_work_from_user would be a wrapper above.

hah! That was quick.

Yes, you could pass in a delimiter string or a pointer to a user-supplier
function (which defaults to isspace() if NULL?) or whatever. But we can
do that if and when it is needed.


\
 
 \ /
  Last update: 2009-02-25 22:59    [W:8.282 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site