mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Safe error numbers for User-defined return values
@ 2001-11-06 11:22 Andy Jeffries
  2001-11-06 11:57 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Jeffries @ 2001-11-06 11:22 UTC (permalink / raw)
  To: linux-kernel


Hi,

I want to define custom return values for my ioctl calls in my Kernel module.  What is the recommended start value for user defined constants?  I notice asm/errno.h only goes up to 124 (in 2.4.12), so should I start at 125 or should I start at 200 to be safe?

I probably only need 30 or so different codes.

Thanks,


-- 
Andy Jeffries                   | Scramdisk Linux Project
http://www.scramdisklinux.org   | Lead developer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-06 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-06 11:22 Safe error numbers for User-defined return values Andy Jeffries
2001-11-06 11:57 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®