2023-02-06 14:38:58 +01:00
|
|
|
# libipc
|
|
|
|
|
|
|
|
|
|
libipc - Simple, easy-to-use IPC library.
|
|
|
|
|
|
|
|
|
|
# Compilation
|
|
|
|
|
|
|
|
|
|
Either `make` or `zig build`.
|
|
|
|
|
|
|
|
|
|
For more options, see either the makefile or `build.zig`.
|
|
|
|
|
|
2023-02-08 12:05:03 +01:00
|
|
|
# Install
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
make install
|
|
|
|
|
# By default, install in the /usr/local/ prefix, but it can be changed.
|
|
|
|
|
make install PREFIX=/usr/
|
|
|
|
|
```
|
|
|
|
|
|
2023-02-06 14:38:58 +01:00
|
|
|
# Usage
|
|
|
|
|
|
2025-10-25 16:35:02 +02:00
|
|
|
See the `examples/` directory.
|
|
|
|
|
|
|
|
|
|
More examples in the [dedicated repository][examples].
|
2023-02-06 14:38:58 +01:00
|
|
|
|
|
|
|
|
# Status
|
|
|
|
|
|
|
|
|
|
LibIPC reached a stable state and is usable.
|
2025-10-25 16:35:02 +02:00
|
|
|
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!
|
2023-02-06 14:38:58 +01:00
|
|
|
|
|
|
|
|
[examples]: https://git.baguette.netlib.re/Baguette/libipc-examples
|