

Go to the source code of this file.
Functions | |
| enum HIPC_errno | hipcPosixReadMsg (void *arg, hipc_msg msg) |
Read a HIPC message from fd. More... | |
| enum HIPC_errno | hipcPosixWriteMsg (void *arg, const hipc_msg msg) |
Write a HIPC message to fd. More... | |
| enum HIPC_errno hipcPosixReadMsg | ( | void * | arg, |
| hipc_msg | msg | ||
| ) |
Read a HIPC message from fd.
errno is set to 0 at the beginning of this function.
| arg | A pointer to a fd |
| msg | A HIPC message is read to this argument. |
| HIPC_SUCCESS | A message is read successfully. |
| HIPC_ERR_IO_READ | means occurrence of an error related to IO. errno may be set by lower layers. |
Definition at line 16 of file posix_clientutils.c.
References HIPC_ERR_IO_READ, HIPC_MSGHDR_SIZE, HIPC_SUCCESS, hipcMsgBdySize(), and hipcPosixReadExactly().
Referenced by main().


| enum HIPC_errno hipcPosixWriteMsg | ( | void * | arg, |
| const hipc_msg | msg | ||
| ) |
Write a HIPC message to fd.
errno is set to 0 at the beginning of this function.
| arg | A pointer to a fd |
| msg | A HIPC message to be written |
| HIPC_SUCCESS | A message is written successfully. |
| HIPC_ERR_IO_WRITE | means occurrence of an error related to IO. errno may be set by lower layers. |
Definition at line 47 of file posix_clientutils.c.
References HIPC_ERR_IO_WRITE, HIPC_SUCCESS, hipcMsgTotalSize(), and hipcPosixWriteExactly().
Referenced by main().


1.8.6