libdill
libdill copied to clipboard
Examples using ipc_close should use deadline
Examples (at least) listed below should end with ipc_close(s, -1); http://libdill.org/ipc_connect.html http://libdill.org/ipc_close.html
example fix (just last line)
int s = ipc_connect("/tmp/test.ipc", -1);
bsend(s, "ABC", 3, -1);
char buf[3];
brecv(s, buf, sizeof(buf), -1);
ipc_close(s, -1);