LibBSD | rtemsbsd/libio: Give a duplicated descriptor an identity of its own (!153)

Sang Woo Kim (@physwkim) gitlab at rtems.org
Fri Jul 31 00:13:21 UTC 2026




Sang Woo Kim commented on a discussion on rtemsbsd/rtems/rtems-bsd-syscall-api.c: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/153#note_156080

 >  #include <rtems/seterr.h>
 >  #include <stdio.h>
 >  
 > +static int rtems_bsd_pipe(int fildes[2], int flags);
 > +int pipe(int fildes[2]);
 > +int pipe2(int fildes[2], int flags);

Sounds good, thanks for the direction — an indirect call the stacks can override at runtime is cleaner than weak linkage. I will close rtems!1382 and rtems#5672 accordingly. Happy to do the 7-freebsd-14 update once the kernel side lands.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/153#note_156080
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-5ywox9npecjkbrvja01baja5m-k/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/20260731/4d6aed86/attachment-0001.htm>


More information about the bugs mailing list