aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/rpc.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-07 15:45:25 +0200
committerBjörn Gustavsson <[email protected]>2016-04-07 15:45:25 +0200
commit89b762d4c9332a9a6416ff8b4f9ea5f6b9179779 (patch)
tree93a00896d037a29890f9c8ffa4ef8ec3159549dd /lib/kernel/src/rpc.erl
parent5b15c7747c38defc3d7c5ee2e9de58b9f2fed535 (diff)
parent8894ff896d45a5aeb720378f66d15eef4db8593b (diff)
downloadotp-89b762d4c9332a9a6416ff8b4f9ea5f6b9179779.tar.gz
otp-89b762d4c9332a9a6416ff8b4f9ea5f6b9179779.tar.bz2
otp-89b762d4c9332a9a6416ff8b4f9ea5f6b9179779.zip
Merge branch 'bjorn/kernel/rpc-pinfo/ERL-124/OTP-13460'
* bjorn/kernel/rpc-pinfo/ERL-124/OTP-13460: Update spec for rpc:pinfo/2
Diffstat (limited to 'lib/kernel/src/rpc.erl')
-rw-r--r--lib/kernel/src/rpc.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/kernel/src/rpc.erl b/lib/kernel/src/rpc.erl
index 0e1e3f070c..5f83713cf7 100644
--- a/lib/kernel/src/rpc.erl
+++ b/lib/kernel/src/rpc.erl
@@ -727,6 +727,11 @@ pinfo(Pid) ->
-spec pinfo(Pid, Item) -> {Item, Info} | undefined | [] when
Pid :: pid(),
Item :: atom(),
+ Info :: term();
+ (Pid, ItemList) -> [{Item, Info}] | undefined | [] when
+ Pid :: pid(),
+ Item :: atom(),
+ ItemList :: [Item],
Info :: term().
pinfo(Pid, Item) when node(Pid) =:= node() ->