Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_malloc.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_malloc.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_malloc.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_malloc.html on line 8
Allocate a message buffer for sending an asynchronous message
|
Asynchronous messaging is an experimental feature;
for information about the use of
experimental software, see the Commercial Software License Agreement (CSLA) or
Partner Software License Agreement (PSLA) in the Licensing area of our website,
http://www.qnx.com/legal/licensing/. |
#include <sys/asyncmsg.h>
void *asyncmsg_malloc( size_t size );
- size
- The size of the message.
libasyncmsg
Use the -l asyncmsg option to
qcc
to link against this library.
The asyncmsg_malloc() function allocates a message buffer for
sending.
EOK, or -1 if an error occurred
(errno is set).
- ENOMEM
- There's not enough memory.
QNX Neutrino
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
asyncmsg_channel_create(),
asyncmsg_channel_destroy(),
asyncmsg_connect_attach(),
asyncmsg_connect_attr(),
asyncmsg_connect_detach(),
asyncmsg_flush(),
asyncmsg_free(),
asyncmsg_get(),
asyncmsg_put(),
asyncmsg_putv()
Asynchronous
Messaging Technote
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_malloc.html on line 160
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/a/asyncmsg_malloc.html on line 160