Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
asyncmsg_channel_destroy()
Destroy an asynchronous message channel
Synopsis:
#include <stdlib.h> #include <sys/neutrino.h> #include <sys/asyncmsg.h> int asyncmsg_channel_destroy(int chid)
Arguments:
- chid
- The channel ID to be destroyed.
Library:
libasyncmsg
Use the -l asyncmsg option to qcc to link against this library.
Description:
The asyncmsg_channel_destroy() function destroys the asynchronous message channel specified by chid.
Returns:
EOK for success; or -1 if an error occurred (errno is set).
Errors:
- EINVAL
- The channel specified by chid doesn't exist.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
asyncmsg_channel_create(), asyncmsg_connect_attach(), asyncmsg_connect_attr(), asyncmsg_connect_detach(), asyncmsg_flush(), asyncmsg_free(), asyncmsg_get(), asyncmsg_malloc(), asyncmsg_put(), asyncmsg_putv()
Asynchronous Messaging Technote
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)