b0586e9ead
git-subtree-dir: ipcd git-subtree-mainline:999da13e76git-subtree-split:e6f672bd48
29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
# ipcd
|
|
|
|
A userspace daemon for interprocess communication.
|
|
|
|
## Usage
|
|
|
|
See the `examples` folder.
|
|
|
|
Simply open `chan:<name>` with O_CREAT where `<name>` is any name you'd like to create a listener.
|
|
This listener can accept clients by calling `dup("listen")`.
|
|
|
|
Open `chan:<name>` without O_CREAT to connect. Now you can read and write between both streams.
|
|
|
|
## How To Contribute
|
|
|
|
To learn how to contribute to this system component you need to read the following document:
|
|
|
|
- [CONTRIBUTING.md](https://gitlab.redox-os.org/redox-os/redox/-/blob/master/CONTRIBUTING.md)
|
|
|
|
## Development
|
|
|
|
To learn how to do development with this system component inside the Redox build system you need to read the [Build System](https://doc.redox-os.org/book/build-system-reference.html) and [Coding and Building](https://doc.redox-os.org/book/coding-and-building.html) pages.
|
|
|
|
### How To Build
|
|
|
|
To build this system component you need to download the Redox build system, you can learn how to do it on the [Building Redox](https://doc.redox-os.org/book/podman-build.html) page.
|
|
|
|
This is necessary because they only work with cross-compilation to a Redox virtual machine, but you can do some testing from Linux.
|