linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* suitable IOCTL error code when device is in state IOCTL cannot performed
@ 2012-08-12 16:38 Antti Palosaari
  2012-08-12 17:48 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Antti Palosaari @ 2012-08-12 16:38 UTC (permalink / raw)
  To: linux-media

Subject says it all. Which one error value is most suitable / generic ?

Here are few ones I found which could be possible:

#define EPERM        1  /* Operation not permitted */
#define EAGAIN      11  /* Try again */
#define EACCES      13  /* Permission denied */
#define EBUSY       16  /* Device or resource busy */
#define ENODATA     61  /* No data available */
#define ECANCELED   125 /* Operation Canceled */

regards
Antti

-- 
http://palosaari.fi/

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

end of thread, other threads:[~2012-08-12 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-12 16:38 suitable IOCTL error code when device is in state IOCTL cannot performed Antti Palosaari
2012-08-12 17:48 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).