aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2010-03-26 12:54:16 +0000
committerBjörn Gustavsson <[email protected]>2010-03-26 14:25:48 +0100
commit3d181930637a6d9a9e2cf48354b7a173e45f2de2 (patch)
tree1183caac3136f310fc0321f5755e0f7df185cf38 /lib/kernel/doc
parent995f42028bfbb939572840b7a0a38c1c39ba05fa (diff)
downloadotp-3d181930637a6d9a9e2cf48354b7a173e45f2de2.tar.gz
otp-3d181930637a6d9a9e2cf48354b7a173e45f2de2.tar.bz2
otp-3d181930637a6d9a9e2cf48354b7a173e45f2de2.zip
Doc fix: inet:getopts/2 returns {ok, OptionValues}, not just OptionValues
Diffstat (limited to 'lib/kernel/doc')
-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 f502b30c8d..beb789fbc5 100644
--- a/lib/kernel/doc/src/inet.xml
+++ b/lib/kernel/doc/src/inet.xml
@@ -221,7 +221,7 @@ fe80::204:acff:fe17:bf38
</desc>
</func>
<func>
- <name>getopts(Socket, Options) -> OptionValues | {error, posix()}</name>
+ <name>getopts(Socket, Options) -> {ok, OptionValues} | {error, posix()}</name>
<fsummary>Get one or more options for a socket</fsummary>
<type>
<v>Socket = term()</v>