RTEMS | Draft: posix/aio: Implemented aio_suspend() (!275)
Alessandro Nardin (@AlessandroNardin)
gitlab at rtems.org
Mon Nov 11 09:42:38 UTC 2024
Alessandro Nardin commented on a discussion on cpukit/posix/src/aio_suspend.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114695
> + suspendcb *suspendcbp;
> + int result, op_num;
> +
> + /* CONTROLS OVER INVALID PARAMETERS */
> + if ( list == NULL ){
> + rtems_set_errno_and_return_minus_one( EINVAL );
> + }
> +
> + if ( nent <= 0 ) {
> + rtems_set_errno_and_return_minus_one( EINVAL );
> + }
> +
> + /* INITAILIZE SUSPEND CB */
> + suspendcbp = malloc( sizeof( suspendcb ) );
> + if ( suspendcbp == NULL ) {
> + rtems_set_errno_and_return_minus_one( EAGAIN );
changed.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/275#note_114695
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/20241111/0773cd5e/attachment-0001.htm>
More information about the bugs
mailing list