about summary refs log tree commit diff
path: root/README
blob: 6cc1e88a635bc35842b15ce4e9f93516b2972cae (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
36
37
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);

     int
     SAMI_send(SAMI *actor, void *buf, size_t length);

     int
     SAMI_kill(SAMI *actor);

     SAMI *
     SAMI_parent(void);

DESCRIPTION
     sami is a library for handling actors.  It uses fork(2) for making
     actors, and unix(7) sockets for message delivering.

RETURN VALUE
     Functions usually return 0 on success, and any other number on failure.
     Consider checking errno(7) in the latter case.

     SAMI_parent() returns a valid pointer.

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