From 2ea703cd2e28b691801c3c41293cbaaa2ea1bb2d Mon Sep 17 00:00:00 2001 From: Michael Santos Date: Thu, 26 Jun 2014 16:42:59 -0400 Subject: [PATCH] typespec: getopt/2,3 --- bin/alcove.escript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/alcove.escript b/bin/alcove.escript index 95014a3..6fa3723 100755 --- a/bin/alcove.escript +++ b/bin/alcove.escript @@ -445,6 +445,9 @@ specs() -> -spec gethostname(pid()) -> {'ok', binary()} | {'error', file:posix()}. -spec gethostname(pid(),list(integer())) -> {'ok', binary()} | {'error', file:posix()}. +-spec getopt(pid(), atom()) -> 'false' | non_neg_integer(). +-spec getopt(pid(),[integer()],atom()) -> 'false' | non_neg_integer(). + -spec getpgrp(pid()) -> integer(). -spec getpgrp(pid(),list(integer())) -> integer().