[haiku-bugs] Re: [Haiku] #7279: ioctl FIONREAD should set errno to ENOTTY for non supported file descriptors

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Fri, 25 Feb 2011 19:59:57 -0000

#7279: ioctl FIONREAD should set errno to ENOTTY for non supported file
descriptors
----------------------+-----------------------
   Reporter:  korli   |      Owner:  nobody
       Type:  bug     |     Status:  new
   Priority:  normal  |  Milestone:  R1
  Component:  System  |    Version:  R1/alpha2
 Resolution:          |   Keywords:
 Blocked By:          |   Blocking:
Has a Patch:  0       |   Platform:  All
----------------------+-----------------------

Comment (by korli):

 Fixed in r40686. ENOTTY is only a POSIX error code, an Haiku error code
 would be preferred for the kernel.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7279#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: