![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Return the original connection attributes
#include <sys/neutrino.h>
#include <sys/asyncmsg.h>
int asyncmsg_connect_attr;
(int coid, struct _asyncmsg_connection_attr *old_attr,
const struct _asyncmsg_connection_ attr *new_attr);
libasyncmsg
Use the -l asyncmsg option to qcc to link against this library.
The asyncmsg_connect_attr() function returns the original connection attributes in the buffer pointed to by old_attr if old_attr is not NULL and sets the connection attributes to the contents of the buffer pointed to by new_attr if new_attr is not NULL.
EOK on success; or -1 if an error occurred (errno is set).
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
asyncmsg_channel_create(), asyncmsg_channel_destroy(), asyncmsg_connect_attach(), asyncmsg_connect_detach(), asyncmsg_flush(), asyncmsg_free(), asyncmsg_get(), asyncmsg_malloc(), asyncmsg_put(), asyncmsg_putv()
Asynchronous Messaging Technote
![]() |
![]() |
![]() |
![]() |