No description
The library jumped to Zig v0.15.2 which implies a new build system. `build.zig` now compiles libipc as both static and dynamic libraries, and provides an entry point to use `libipc` as-is for Zig applications. Some examples have been added to help new users play with the library. Thanks to these fairly complete examples, two (very small) leaks related to sentinel values (in arrays containing paths) were fixed. |
||
|---|---|---|
| examples | ||
| src | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| ipc.pc | ||
| libipc.h | ||
| makefile | ||
| makefile.target | ||
| README.md | ||
| TODO.md | ||
libipc
libipc - Simple, easy-to-use IPC library.
Compilation
Either make or zig build.
For more options, see either the makefile or build.zig.
Install
make install
# By default, install in the /usr/local/ prefix, but it can be changed.
make install PREFIX=/usr/
Usage
See the examples/ directory.
More examples in the dedicated repository.
Status
LibIPC reached a stable state and is usable.
Performance is fine for most projects.
The poll syscall is used instead of more recent and faster syscalls (epoll, kqueue, etc.) because it is simpler and available on most systems.
Since the API is great and performances are fine for what I do, I don't plan to change it, not even for faster syscalls. A new library will be implemented if I ever change my mind. So, again, the API should be fairly stable. Enjoy!