Re: sscanf in kernel

2010-03-17 Thread Saleh Batati
My bad, I thought that I am working on a different mailing list (linux-net). -- Saleh On Thu, Mar 18, 2010 at 12:13 AM, Juli Mallett wrote: > On Wed, Mar 17, 2010 at 13:39, igeek wrote: > > On Mar 17, 2010, at 2:12 PM, serena zanetta wrote: > >> Hi, > >> I need to convert an ascii string in i

Re: sscanf in kernel

2010-03-17 Thread Brad
- Original message - > sscanf() has a kernel version declared in kernel.h. > http://www.gelato.unsw.edu.au/lxr/source/include/linux/kernel.h#L196 > > -- Saleh You must have missed the name of this mailing list, it is freebsd-net not linux-net. -- This message has been scanned for viruse

Re: sscanf in kernel

2010-03-17 Thread Juli Mallett
On Wed, Mar 17, 2010 at 13:39, igeek wrote: > On Mar 17, 2010, at 2:12 PM, serena zanetta wrote: >> Hi, >> I need to convert an ascii string in its corresponding hex version (the >> same >> as sscanf(str,"%02x%02x...",...) does) in the kernel. FreeBSD has sscanf in the kernel. See . That said,

Re: sscanf in kernel

2010-03-17 Thread igeek
sscanf() has a kernel version declared in kernel.h. http://www.gelato.unsw.edu.au/lxr/source/include/linux/kernel.h#L196 -- Saleh On Mar 17, 2010, at 2:12 PM, serena zanetta wrote: Hi, I need to convert an ascii string in its corresponding hex version (the same as sscanf(str,"%02x%02x...",

sscanf in kernel

2010-03-17 Thread serena zanetta
Hi, I need to convert an ascii string in its corresponding hex version (the same as sscanf(str,"%02x%02x...",...) does) in the kernel. Could someone help me? Thank you in advice, Serena ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/