aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-02-18 16:13:00 +0100
committerMicael Karlberg <[email protected]>2019-02-22 19:45:53 +0100
commit0f4aff72763d8b49b5b6361970db70111b3cddce (patch)
treebaab63c7cdbda677d0b84c6b8f6b866243aa9720 /erts
parenta82b0c819aa7cafc974a7eff0e667e97cfabbecc (diff)
downloadotp-0f4aff72763d8b49b5b6361970db70111b3cddce.tar.gz
otp-0f4aff72763d8b49b5b6361970db70111b3cddce.tar.bz2
otp-0f4aff72763d8b49b5b6361970db70111b3cddce.zip
[socket|net|doc] Fixed broken anchors
Fixed broken links to types and functions. OTP-14831
Diffstat (limited to 'erts')
-rw-r--r--erts/doc/src/net.xml4
-rw-r--r--erts/doc/src/socket.xml14
-rw-r--r--erts/preloaded/ebin/socket.beambin70280 -> 70276 bytes
-rw-r--r--erts/preloaded/src/socket.erl5
4 files changed, 20 insertions, 3 deletions
diff --git a/erts/doc/src/net.xml b/erts/doc/src/net.xml
index e0c3b4ec73..484c7a5f56 100644
--- a/erts/doc/src/net.xml
+++ b/erts/doc/src/net.xml
@@ -75,7 +75,7 @@
<desc>
<p>Address-to-name translation in a protocol-independant manner.</p>
<p>This function is the inverse of
- <seealso marker="#getaddrinfo"><c>getaddrinfo</c></seealso>.
+ <seealso marker="#getaddrinfo/1"><c>getaddrinfo</c></seealso>.
It converts a socket address to a corresponding host and service.</p>
</desc>
</func>
@@ -89,7 +89,7 @@
<desc>
<p>Network address and service translation.</p>
<p>This function is the inverse of
- <seealso marker="#getnameinfo"><c>getnameinfo</c></seealso>.
+ <seealso marker="#getnameinfo/1"><c>getnameinfo</c></seealso>.
It converts host and service to a corresponding socket address.</p>
<p>One of the <c>Host</c> and <c>Service</c> may be <c>undefined</c>
but <em>not</em> both.</p>
diff --git a/erts/doc/src/socket.xml b/erts/doc/src/socket.xml
index 05ffc8f074..cf0cde2e68 100644
--- a/erts/doc/src/socket.xml
+++ b/erts/doc/src/socket.xml
@@ -84,6 +84,12 @@
<name name="port_number"/>
</datatype>
<datatype>
+ <name name="in6_flow_info"/>
+ </datatype>
+ <datatype>
+ <name name="in6_scope_id"/>
+ </datatype>
+ <datatype>
<name name="accept_flags"/>
</datatype>
<datatype>
@@ -96,6 +102,12 @@
<name name="send_flag"/>
</datatype>
<datatype>
+ <name name="recv_flags"/>
+ </datatype>
+ <datatype>
+ <name name="recv_flag"/>
+ </datatype>
+ <datatype>
<name name="shutdown_how"/>
</datatype>
<datatype>
@@ -476,7 +488,7 @@
The <c>MsgHdr</c> may also contain an list of optional <c>cmsghdr_send()</c>
(depends on what the protocol and platform supports).</p>
- <p>Unlike the <seealso marker="#send"><c>send</c></seealso> function,
+ <p>Unlike the <seealso marker="#send/2"><c>send</c></seealso> function,
this one sends <em>one message</em>.
This means that if, for whatever reason, its not possible to send the
message in one go, the function will instead return with the
diff --git a/erts/preloaded/ebin/socket.beam b/erts/preloaded/ebin/socket.beam
index 7f6fa76ece..6478c44c93 100644
--- a/erts/preloaded/ebin/socket.beam
+++ b/erts/preloaded/ebin/socket.beam
Binary files differ
diff --git a/erts/preloaded/src/socket.erl b/erts/preloaded/src/socket.erl
index f04f9701d3..5fad5ec49a 100644
--- a/erts/preloaded/src/socket.erl
+++ b/erts/preloaded/src/socket.erl
@@ -77,6 +77,9 @@
send_flags/0,
send_flag/0,
+ recv_flags/0,
+ recv_flag/0,
+
shutdown_how/0,
sockopt_level/0,
@@ -99,6 +102,8 @@
ip_pktinfo/0,
ipv6_mreq/0,
ipv6_pmtudisc/0,
+ in6_flow_info/0,
+ in6_scope_id/0,
sctp_assoc_id/0,
sctp_sndrcvinfo/0,
sctp_event_subscribe/0,