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:07:23 UTC 2024




Chris Johns commented on a discussion on cpukit/include/rtems/libio_.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/117#note_109494

 >    rtems_libio_t *iop
 >  );
 >  
 > +/**
 > + * Return the number of open iop descriptors
 > + */
 > +size_t rtems_libio_iop_descriptors_open( void );

The reference here https://en.cppreference.com/w/cpp/types/size_t says it is:

> the maximum size of a theoretically possible object of any type (including array)

so I am not sure your comment about bytes is right?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/117#note_109494
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/f7cb139d/attachment.htm>


More information about the bugs mailing list