Hi,

rt_pipe_receive() doesn't return -EIDRM any more. The patches for trunk and v2.4.x correct the API documentation in this regard.

--
Sebastian
Index: ChangeLog
===================================================================
--- ChangeLog   (Revision 3887)
+++ ChangeLog   (Arbeitskopie)
@@ -1,3 +1,9 @@
+2008-05-27  Sebastian Smolorz  <[EMAIL PROTECTED]>
+
+       * ksrc/skins/native/pipe.c (rt_pipe_receive): Fix documentation
+       for the return values of the function. -EIDRM is no valid return
+       value any more.
+
 2008-05-25  Wolfgang Grandegger  <[EMAIL PROTECTED]>
 
        * ksrc/drivers/can/mscan/rtcan_mscan.c (rtcan_mscan_exit): Fix
Index: ksrc/skins/native/pipe.c
===================================================================
--- ksrc/skins/native/pipe.c    (Revision 3887)
+++ ksrc/skins/native/pipe.c    (Arbeitskopie)
@@ -441,8 +441,6 @@
  *
  * - -EINVAL is returned if @a pipe is not a pipe descriptor.
  *
- * - -EIDRM is returned if @a pipe was closed while reading.
- *
  * - -ENODEV or -EBADF are returned if @a pipe is scrambled.
  *
  * - -ETIMEDOUT is returned if @a timeout is different from
Index: ChangeLog
===================================================================
--- ChangeLog   (Revision 3887)
+++ ChangeLog   (Arbeitskopie)
@@ -1,3 +1,9 @@
+2008-05-27  Sebastian Smolorz  <[EMAIL PROTECTED]>
+
+       * ksrc/skins/native/pipe.c (rt_pipe_receive): Fix documentation
+       for the return values of the function. -EIDRM is no valid return
+       value any more.
+
 2008-05-25  Roland Stigge  <[EMAIL PROTECTED]>
 
        * doc/man/*: Add new manual pages.
Index: ksrc/skins/native/pipe.c
===================================================================
--- ksrc/skins/native/pipe.c    (Revision 3887)
+++ ksrc/skins/native/pipe.c    (Arbeitskopie)
@@ -441,8 +441,6 @@
  *
  * - -EINVAL is returned if @a pipe is not a pipe descriptor.
  *
- * - -EIDRM is returned if @a pipe was closed while reading.
- *
  * - -ENODEV or -EBADF are returned if @a pipe is scrambled.
  *
  * - -ETIMEDOUT is returned if @a timeout is different from
_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to