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, hipcPosixReadExactly(), HIPC_usoc::mio, and mockIORead().
Referenced by hipcsvsLedRun(), hipcsvsRtRun(), 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, hipcPosixWriteExactly(), HIPC_usoc::mio, and mockIOWrite().
Referenced by hipcUsocSendSysmsg(), hipcUsocWriteMsgd(), and send_cast().