about summary refs log tree commit diff
path: root/README
blob: 1f0cb82ad020eb3643d64a8dadca9995edd458ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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