RTEMS | libcsupport/libio: Add rtems_libio_iop_descriptors_open to return open descriptors (!117)
Chris Johns (@chris)
gitlab at rtems.org
Thu Jul 18 02:39:47 UTC 2024
Chris Johns commented on a discussion on testsuites/libtests/libiofdopen/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/117#note_109501
> +#include <rtems/libio_.h>
> +
> +/* Use assert() not rtems_test_assert() since it uses exit() */
> +#include <assert.h>
> +
> +#include <rtems.h>
> +
> +const char rtems_test_name[] = "LIBIO FD OPEN";
> +
> +#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;
Fixed.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/117#note_109501
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240718/972d8119/attachment.htm>
More information about the bugs
mailing list