which errno should I use

Ralph Blach rcblach at raleigh.ibm.com
Wed Jan 31 03:52:51 EST 2001


I am writing a character device driver.  I want this device driver to
return an error if the user request less than say 1024 byte of data.
What errno should I use?  Is it legal to return an error if not enouth
bytes are requested?

Thanks

Chip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rcblach.vcf
Type: text/x-vcard
Size: 247 bytes
Desc: Card for Ralph Blach
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20010130/bea0d12c/attachment.vcf 


More information about the Linuxppc-embedded mailing list