RTEMS | libfs/pipe: Add pipe and pipe2 indirect handler calls (!1383)
Chris Johns (@chris)
gitlab at rtems.org
Mon Aug 3 22:15:35 UTC 2026
Chris Johns commented on a discussion on cpukit/libfs/src/pipe/pipe.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1383#note_156421
> + (void) flags;
> + errno = ENXIO;
> + return -1;
> +}
> +
> +static rtems_pipe_handler_t pipe_handler = pipe_default;
> +static rtems_pipe2_handler_t pipe2_handler = pipe2_default;
> +
> +void rtems_filesystem_register_pipe( rtems_pipe_handler_t pipe_handler_ )
> +{
> + rtems_libio_lock();
> + pipe_handler = pipe_handler_;
> + rtems_libio_unlock();
> +}
> +
> +void rtems_filesystem_register_pipe2( rtems_pipe2_handler_t pipe2_handler_ )
I will change to any that is not a trailing adjective :grin:
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1383#note_156421
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-5hr96iqpbarmvezb6z536jh44-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260803/651282f4/attachment-0001.htm>
More information about the bugs
mailing list