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

 > +int rtems_libio_to_fcntl_flags( unsigned int flags );
 > +
 > +/**
 > + * This routine frees the resources associated with an IOP (file
 > + * descriptor) and clears the slot in the IOP Table. No checks are
 > + * made on the state of the IOP.
 > + */
 > +void rtems_libio_free_iop(
 > +  rtems_libio_t *iop
 > +);
 > +
 > +/**
 > + * This routine frees the resources associated with an IOP (file
 > + * descriptor) and clears the slot in the IOP Table. The IOP has to
 > + * close (open flag not set) and no references held or the call will
 > + * ignore the request.

It is a wrapper for the `rtems_libio_free()` cal so that defines the interface. 
The IOP is a static array and any errors would be out of scope for this MR.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/516#note_125236
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to