From 260faf6104c70a72a81b2c9a01253fff56dbac24 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Fri, 29 Aug 2025 04:25:26 +0300 Subject: Add code --- README | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 README (limited to 'README') 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 + + 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 + +Linux 6.14.7-arch2-1 August 29, 2025 Linux 6.14.7-arch2-1 -- cgit 1.4.1