about summary refs log tree commit diff
path: root/sami.3
diff options
context:
space:
mode:
Diffstat (limited to 'sami.3')
-rw-r--r--sami.314
1 files changed, 9 insertions, 5 deletions
diff --git a/sami.3 b/sami.3
index 371c682..ba6b63b 100644
--- a/sami.3
+++ b/sami.3
@@ -10,17 +10,17 @@
 .
 .In sami.h
 .Ft "int"
-.Fn SAMI_make "SAMI *actor" "SAMI_Handler *handler" "void *arg"
+.Fn SAMI_make "SAMI *actor" "SAMI_Handler *handler"
 .
 .Ft "int"
 .Fn SAMI_send "SAMI *actor" "void *buf" "size_t length"
 .
 .Ft "int"
-.Fn SAMI_recv "void *buf" "size_t length"
-.
-.Ft "int"
 .Fn SAMI_kill "SAMI *actor"
 .
+.Ft "SAMI *"
+.Fn SAMI_parent "void"
+.
 .Sh DESCRIPTION
 .Nm
 is a library
@@ -33,12 +33,16 @@ and
 sockets for message delivering.
 .
 .Sh RETURN VALUE
-All functions return 0 on success,
+Functions usually return 0 on success,
 and any other number on failure.
 Consider checking
 .Xr errno 7
 in the latter case.
 .
+.Pp
+.Fn SAMI_parent
+returns a valid pointer.
+.
 .Sh SEE ALSO
 .Xr fork 2 ,
 .Xr unix 7