aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/inet.erl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-07-20 16:08:23 +0200
committerRaimo Niskanen <[email protected]>2017-07-20 16:08:23 +0200
commitb3a617b7398603c047204fb17198657a626a0f90 (patch)
tree8336e79f781d2344c7afe25f8e02ad9fb2293b35 /lib/kernel/src/inet.erl
parent040bdce67f88d833bfb59adae130a4ffb4c180f0 (diff)
downloadotp-b3a617b7398603c047204fb17198657a626a0f90.tar.gz
otp-b3a617b7398603c047204fb17198657a626a0f90.tar.bz2
otp-b3a617b7398603c047204fb17198657a626a0f90.zip
Improve spec and doc for inet:get_rc/0
Diffstat (limited to 'lib/kernel/src/inet.erl')
-rw-r--r--lib/kernel/src/inet.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/inet.erl b/lib/kernel/src/inet.erl
index 6aef5476f1..dc20c21c77 100644
--- a/lib/kernel/src/inet.erl
+++ b/lib/kernel/src/inet.erl
@@ -151,7 +151,8 @@
%%% ---------------------------------
--spec get_rc() -> [{Par :: any(), Val :: any()}].
+-spec get_rc() -> [{Par :: atom(), Val :: any()} |
+ {Par :: atom(), Val1 :: any(), Val2 :: any()}].
get_rc() ->
inet_db:get_rc().