aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-02-20 19:19:15 +0100
committerHenrik Nord <henrik@erlang.org>2011-03-25 14:39:20 +0100
commitaeb8dc04fb03c98bc449319d799dc9cfc0a46e64 (patch)
tree827b0ca019682e9e0b07caf4f304352b22a2844b /lib
parent2fb83f9b723caedf9b6dab32839fa3fc9c892844 (diff)
downloadotp-aeb8dc04fb03c98bc449319d799dc9cfc0a46e64.tar.gz
otp-aeb8dc04fb03c98bc449319d799dc9cfc0a46e64.tar.bz2
otp-aeb8dc04fb03c98bc449319d799dc9cfc0a46e64.zip
Fix inet:port/1 doc to match implementation/spec
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/doc/src/inet.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml
index a22c0a8346..f05a224f33 100644
--- a/lib/kernel/doc/src/inet.xml
+++ b/lib/kernel/doc/src/inet.xml
@@ -432,7 +432,7 @@ fe80::204:acff:fe17:bf38
</desc>
</func>
<func>
- <name>port(Socket) -> {ok, Port}</name>
+ <name>port(Socket) -> {ok, Port} | {error, any()}</name>
<fsummary>Return the local port number for a socket</fsummary>
<type>
<v>Socket = socket()</v>