Go to the source code of this file.
Functions | |
enum HIPC_errno | hipcUsocRead (struct HIPC_usoc *so_p, void *buf, const size_t size) |
Reads exactly size bytes from so_p . More... | |
enum HIPC_errno | hipcUsocWrite (struct HIPC_usoc *so_p, const void *buf, const size_t size) |
Writes exactly size bytes to so_p . More... | |
enum HIPC_errno hipcUsocRead | ( | struct HIPC_usoc * | so_p, |
void * | buf, | ||
const size_t | size | ||
) |
Reads exactly size
bytes from so_p
.
so_p | Pointer to a universal socket |
buf | Buffer into which bytes are read |
size | Number of bytes to be read |
Definition at line 24 of file posix_usoc.c.
References HIPC_usoc::fdr, HIPC_ERR_S_IO_READ, HIPC_SUCCESS, and hipcPosixReadExactly().
Referenced by hipcUsocAccept(), and hipcUsocAcceptSimple().
enum HIPC_errno hipcUsocWrite | ( | struct HIPC_usoc * | so_p, |
const void * | buf, | ||
const size_t | size | ||
) |
Writes exactly size
bytes to so_p
.
so_p | Pointer to a universal socket |
buf | Buffer from which bytes are written |
size | Number of bytes to be written |
Definition at line 36 of file posix_usoc.c.
References HIPC_usoc::fdw, HIPC_ERR_S_IO_WRITE, HIPC_SUCCESS, and hipcPosixWriteExactly().
Referenced by hipcUsocWriteMsgd().