typespec: getopt/2,3

This commit is contained in:
Michael Santos
2014-06-26 16:42:59 -04:00
parent 62c9795afa
commit 2ea703cd2e

View File

@@ -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().