9 #include "CFGled_ccfg.h"
15 int fdr = STDIN_FILENO;
16 int fdw = STDOUT_FILENO;
25 for (i = 0; i < 4; ++i) {
27 hipcPut(&sess,
"STRUprm.led", &prm);
33 hipcPut(&sess,
"STRUprm.led", &prm);
40 fprintf(stderr,
"end\n");
enum HIPC_errno hipcPut(hipc_session *const sess_p, char const *const str, void *const cimg)
Puts data specified by str from a HIPC server.
enum HIPC_errno hipcOpen(hipc_session *const sess_p, struct HIPC_client const *const clbase_p, enum HIPC_errno(*rfnc_p)(void *, hipc_msg), void *rarg, enum HIPC_errno(*wfnc_p)(void *, const hipc_msg), void *warg)
Open a session to a HIPC server.
enum HIPC_errno hipcPosixReadMsg(void *arg, hipc_msg msg)
Read a HIPC message from fd.
enum HIPC_errno hipcClose(hipc_session *const sess_p)
Closes a session.
enum HIPC_errno hipcPosixWriteMsg(void *arg, const hipc_msg msg)
Write a HIPC message to fd.
#define HIPC_ERRCHECK(sess_p)
Checks whether an error has occurred.