diff options
| author | Nakidai <nakidai@disroot.org> | 2025-08-29 04:25:26 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-08-29 04:25:26 +0300 |
| commit | 260faf6104c70a72a81b2c9a01253fff56dbac24 (patch) | |
| tree | f7901dc141211005597ec38c2d15c8bf9427d06e /README | |
| download | sami-260faf6104c70a72a81b2c9a01253fff56dbac24.tar.gz sami-260faf6104c70a72a81b2c9a01253fff56dbac24.zip | |
Add code
Diffstat (limited to 'README')
| -rw-r--r-- | README | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/README b/README new file mode 100644 index 0000000..1f0cb82 --- /dev/null +++ b/README @@ -0,0 +1,35 @@ +SAI(3) Library Functions Manual SAI(3) + +NAME + sami - simple actor model implementation + +SYNOPSIS + #include <sami.h> + + int + SAMI_make(SAMI *actor, SAMI_Handler *handler, void *arg); + + int + SAMI_send(SAMI *actor, void *buf, size_t length); + + int + SAMI_recv(void *buf, size_t length); + + int + SAMI_kill(SAMI *actor); + +DESCRIPTION + sami is a library for handling actors. It uses fork(2) for making + actors, and unix(7) sockets for message delivering. + +RETURN VALUE + All functions return 0 on success, and any other number on failure. + Consider checking errno(7) in the latter case. + +SEE ALSO + fork(2), unix(7) + +AUTHORS + Nakidai Perumenei <nakidai@disroot.org> + +Linux 6.14.7-arch2-1 August 29, 2025 Linux 6.14.7-arch2-1 |