Hello,

I am developing a driver for an LM80 voltage sensor. I want the customer to
be able to call an ioctl() and I will return the current -12V say (i.e
-12.236).

First, Is there a way to print out the float (i.e -12.236) in the ioctl of
the driver for debug purposes? Also, can I do floating point math in the
ioctl (like multiplying a number by 0.34556)? Can I return a float when
ioctl is called from the user?

Thanks,

Todd Harrington
Trilogic Systems
Senior Systems Engineer
Tel -  978-658-3800 x-151
Fax - 978-657-5927
[EMAIL PROTECTED]




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to