Re: suitable IOCTL error code when device is in state IOCTL cannot performed

2012-08-12 Thread Mauro Carvalho Chehab
Em 12-08-2012 13:38, Antti Palosaari escreveu: > Subject says it all. Which one error value is most suitable / generic ? > > Here are few ones I found which could be possible: > > #define EPERM1 /* Operation not permitted */ > #define EAGAIN 11 /* Try again */ > #define EACCES

suitable IOCTL error code when device is in state IOCTL cannot performed

2012-08-12 Thread Antti Palosaari
Subject says it all. Which one error value is most suitable / generic ? Here are few ones I found which could be possible: #define EPERM1 /* Operation not permitted */ #define EAGAIN 11 /* Try again */ #define EACCES 13 /* Permission denied */ #define EBUSY 16 /* Devi