Re: strtol function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I was making a module, in which I need to call the function strtol, which
> is defined in stdlib.h, now I want to compile my module with the kernel

>From http://kernelnewbies.org/documents/kdoc/kernel-api/libc.html:

"When writing drivers, you cannot in general use routines which are
from the C Library. Some of the functions have been found generally
useful and they are listed below.'

Looks like you need to use simple_strtol() instead.

-- 
					thanks,
		
					Will
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux