Chris Johns commented on a discussion on testsuites/libtests/libiofdopen/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/117#note_109495 > +#define NUMOF(_a) (sizeof(_a) / sizeof(_a[0])) > + > +static void Init(rtems_task_argument arg) > +{ > + int fd[10]; > + size_t i; > + size_t base_count; > + > + TEST_BEGIN(); > + > + for (i = 0; i < NUMOF(fd); i++) { > + fd[i] = -1; > + } > + > + base_count = rtems_libio_iop_descriptors_open(); > + printf("default open count = %zu\n", base_count); I was not aware of this. It can be removed. BSPs can have different numbers of `fd` open. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/117#note_109495 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
