aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-02-21 11:10:45 +0100
committerMicael Karlberg <[email protected]>2019-02-22 19:45:53 +0100
commit24c82c328bf9ee278f67ba05e4f6c89dd1333a59 (patch)
tree00ff420ec13d868630820909587007152c59d3d9
parent99fd1547e6dd22a7ea77d893fb5691353357cf99 (diff)
downloadotp-24c82c328bf9ee278f67ba05e4f6c89dd1333a59.tar.gz
otp-24c82c328bf9ee278f67ba05e4f6c89dd1333a59.tar.bz2
otp-24c82c328bf9ee278f67ba05e4f6c89dd1333a59.zip
[socket|net|doc] Add 'since' tag
Add 'since' tag to the module and func elements. OTP-14831
-rw-r--r--erts/doc/src/net.xml20
-rw-r--r--erts/doc/src/socket.xml158
2 files changed, 89 insertions, 89 deletions
diff --git a/erts/doc/src/net.xml b/erts/doc/src/net.xml
index 484c7a5f56..bd85594c98 100644
--- a/erts/doc/src/net.xml
+++ b/erts/doc/src/net.xml
@@ -29,7 +29,7 @@
<rev></rev>
<file>net.xml</file>
</header>
- <module>net</module>
+ <module since="OTP @OTP-14831@">net</module>
<modulesummary>Network interface.</modulesummary>
<description>
<p>This module provides an API for the network interface.</p>
@@ -69,8 +69,8 @@
</func>
<func>
- <name name="getnameinfo" arity="1"/>
- <name name="getnameinfo" arity="2"/>
+ <name name="getnameinfo" arity="1" since="OTP @OTP-14831@"/>
+ <name name="getnameinfo" arity="2" since="OTP @OTP-14831@"/>
<fsummary>Address-to-name transaltion.</fsummary>
<desc>
<p>Address-to-name translation in a protocol-independant manner.</p>
@@ -81,10 +81,10 @@
</func>
<func>
- <name name="getaddrinfo" arity="1"/>
- <name name="getaddrinfo" arity="2" clause_i="1"/>
- <name name="getaddrinfo" arity="2" clause_i="2"/>
- <name name="getaddrinfo" arity="2" clause_i="3"/>
+ <name name="getaddrinfo" arity="1" since="OTP @OTP-14831@"/>
+ <name name="getaddrinfo" arity="2" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="getaddrinfo" arity="2" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="getaddrinfo" arity="2" clause_i="3" since="OTP @OTP-14831@"/>
<fsummary>Network address and service transation.</fsummary>
<desc>
<p>Network address and service translation.</p>
@@ -97,7 +97,7 @@
</func>
<func>
- <name name="if_name2index" arity="1"/>
+ <name name="if_name2index" arity="1" since="OTP @OTP-14831@"/>
<fsummary>Mappings between network interface names and indexes.</fsummary>
<desc>
<p>Mappings between network interface names and indexes.</p>
@@ -105,7 +105,7 @@
</func>
<func>
- <name name="if_index2name" arity="1"/>
+ <name name="if_index2name" arity="1" since="OTP @OTP-14831@"/>
<fsummary>Mappings between network interface index and names.</fsummary>
<desc>
<p>Mappings between network interface index and names.</p>
@@ -113,7 +113,7 @@
</func>
<func>
- <name name="if_names" arity="0"/>
+ <name name="if_names" arity="0" since="OTP @OTP-14831@"/>
<fsummary>Get network interface names and indexes.</fsummary>
<desc>
<p>Get network interface names and indexes.</p>
diff --git a/erts/doc/src/socket.xml b/erts/doc/src/socket.xml
index 9e8b9cd29f..795df0d238 100644
--- a/erts/doc/src/socket.xml
+++ b/erts/doc/src/socket.xml
@@ -29,7 +29,7 @@
<rev></rev>
<file>socket.xml</file>
</header>
- <module>socket</module>
+ <module since="OTP @OTP-14831@">socket</module>
<modulesummary>Socket interface.</modulesummary>
<description>
<p>This module provides an API for the socket interface.
@@ -251,8 +251,8 @@
<funcs>
<func>
- <name name="accept" arity="1"/>
- <name name="accept" arity="2"/>
+ <name name="accept" arity="1" since="OTP @OTP-14831@"/>
+ <name name="accept" arity="2" since="OTP @OTP-14831@"/>
<fsummary>Accept a connection on a socket.</fsummary>
<desc>
<p>Accept a connection on a socket.</p>
@@ -264,7 +264,7 @@
</func>
<func>
- <name name="bind" arity="2"/>
+ <name name="bind" arity="2" since="OTP @OTP-14831@"/>
<fsummary>Bind a name to a socket.</fsummary>
<desc>
<p>Bind a name to a socket.</p>
@@ -277,7 +277,7 @@
</func>
<func>
- <name name="close" arity="1"/>
+ <name name="close" arity="1" since="OTP @OTP-14831@"/>
<fsummary>Close a socket.</fsummary>
<desc>
<p>Closes the socket.</p>
@@ -296,8 +296,8 @@
</func>
<func>
- <name name="connect" arity="2"/>
- <name name="connect" arity="3"/>
+ <name name="connect" arity="2" since="OTP @OTP-14831@"/>
+ <name name="connect" arity="3" since="OTP @OTP-14831@"/>
<fsummary>Initiate a connection on a socket.</fsummary>
<desc>
<p>This function connects the socket to the address
@@ -306,13 +306,13 @@
</func>
<func>
- <name name="getopt" arity="3" clause_i="1"/>
- <name name="getopt" arity="3" clause_i="2"/>
- <name name="getopt" arity="3" clause_i="3"/>
- <name name="getopt" arity="3" clause_i="4"/>
- <name name="getopt" arity="3" clause_i="5"/>
- <name name="getopt" arity="3" clause_i="6"/>
- <name name="getopt" arity="3" clause_i="7"/>
+ <name name="getopt" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="getopt" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="getopt" arity="3" clause_i="3" since="OTP @OTP-14831@"/>
+ <name name="getopt" arity="3" clause_i="4" since="OTP @OTP-14831@"/>
+ <name name="getopt" arity="3" clause_i="5" since="OTP @OTP-14831@"/>
+ <name name="getopt" arity="3" clause_i="6" since="OTP @OTP-14831@"/>
+ <name name="getopt" arity="3" clause_i="7" since="OTP @OTP-14831@"/>
<fsummary>Get an option on a socket.</fsummary>
<desc>
<p>Get an option on a socket.</p>
@@ -332,7 +332,7 @@
</func>
<func>
- <name name="getopt" arity="3" clause_i="8"/>
+ <name name="getopt" arity="3" clause_i="8" since="OTP @OTP-14831@"/>
<fsummary>Get an option on a socket.</fsummary>
<desc>
<p>Get an option on a socket.</p>
@@ -354,8 +354,8 @@
</func>
<func>
- <name name="listen" arity="1"/>
- <name name="listen" arity="2"/>
+ <name name="listen" arity="1" since="OTP @OTP-14831@"/>
+ <name name="listen" arity="2" since="OTP @OTP-14831@"/>
<fsummary>Listen for connections on a socket.</fsummary>
<desc>
<p>Listen for connections on a socket.</p>
@@ -363,9 +363,9 @@
</func>
<func>
- <name name="open" arity="2"/>
- <name name="open" arity="3"/>
- <name name="open" arity="4"/>
+ <name name="open" arity="2" since="OTP @OTP-14831@"/>
+ <name name="open" arity="3" since="OTP @OTP-14831@"/>
+ <name name="open" arity="4" since="OTP @OTP-14831@"/>
<fsummary>Create an endpoint for communication.</fsummary>
<desc>
<p>Creates an endpoint (socket) for communication.</p>
@@ -385,7 +385,7 @@
</func>
<func>
- <name name="peername" arity="1"/>
+ <name name="peername" arity="1" since="OTP @OTP-14831@"/>
<fsummary>Get name of connected socket peer.</fsummary>
<desc>
<p>Returns the address of the peer connected to the socket.</p>
@@ -393,11 +393,11 @@
</func>
<func>
- <name name="recv" arity="1"/>
- <name name="recv" arity="2"/>
- <name name="recv" arity="3" clause_i="1"/>
- <name name="recv" arity="3" clause_i="2"/>
- <name name="recv" arity="4"/>
+ <name name="recv" arity="1" since="OTP @OTP-14831@"/>
+ <name name="recv" arity="2" since="OTP @OTP-14831@"/>
+ <name name="recv" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="recv" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="recv" arity="4" since="OTP @OTP-14831@"/>
<fsummary>Receive a message from a socket.</fsummary>
<desc>
<p>Receive a message from a socket.</p>
@@ -408,12 +408,12 @@
</func>
<func>
- <name name="recvfrom" arity="1"/>
- <name name="recvfrom" arity="2"/>
- <name name="recvfrom" arity="3" clause_i="1"/>
- <name name="recvfrom" arity="3" clause_i="2"/>
- <name name="recvfrom" arity="3" clause_i="3"/>
- <name name="recvfrom" arity="4"/>
+ <name name="recvfrom" arity="1" since="OTP @OTP-14831@"/>
+ <name name="recvfrom" arity="2" since="OTP @OTP-14831@"/>
+ <name name="recvfrom" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="recvfrom" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="recvfrom" arity="3" clause_i="3" since="OTP @OTP-14831@"/>
+ <name name="recvfrom" arity="4" since="OTP @OTP-14831@"/>
<fsummary>Receive a message from a socket.</fsummary>
<desc>
<p>Receive a message from a socket.</p>
@@ -432,12 +432,12 @@
</func>
<func>
- <name name="recvmsg" arity="1"/>
- <name name="recvmsg" arity="2" clause_i="1"/>
- <name name="recvmsg" arity="2" clause_i="2"/>
- <name name="recvmsg" arity="3" clause_i="1"/>
- <name name="recvmsg" arity="3" clause_i="2"/>
- <name name="recvmsg" arity="5"/>
+ <name name="recvmsg" arity="1" since="OTP @OTP-14831@"/>
+ <name name="recvmsg" arity="2" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="recvmsg" arity="2" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="recvmsg" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="recvmsg" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="recvmsg" arity="5" since="OTP @OTP-14831@"/>
<fsummary>Receive a message from a socket.</fsummary>
<desc>
<p>Receive a message from a socket.</p>
@@ -468,10 +468,10 @@
</func>
<func>
- <name name="send" arity="2"/>
- <name name="send" arity="3" clause_i="1"/>
- <name name="send" arity="3" clause_i="2"/>
- <name name="send" arity="4"/>
+ <name name="send" arity="2" since="OTP @OTP-14831@"/>
+ <name name="send" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="send" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="send" arity="4" since="OTP @OTP-14831@"/>
<fsummary>Send a message on a socket.</fsummary>
<desc>
<p>Send a message on a connected socket.</p>
@@ -479,10 +479,10 @@
</func>
<func>
- <name name="sendmsg" arity="2"/>
- <name name="sendmsg" arity="3" clause_i="1"/>
- <name name="sendmsg" arity="3" clause_i="2"/>
- <name name="sendmsg" arity="4"/>
+ <name name="sendmsg" arity="2" since="OTP @OTP-14831@"/>
+ <name name="sendmsg" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="sendmsg" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="sendmsg" arity="4" since="OTP @OTP-14831@"/>
<fsummary>Send a message on a socket.</fsummary>
<desc>
<p>Send a message on a socket. The destination, if needed
@@ -503,10 +503,10 @@
</func>
<func>
- <name name="sendto" arity="3"/>
- <name name="sendto" arity="4" clause_i="1"/>
- <name name="sendto" arity="4" clause_i="2"/>
- <name name="sendto" arity="5"/>
+ <name name="sendto" arity="3" since="OTP @OTP-14831@"/>
+ <name name="sendto" arity="4" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="sendto" arity="4" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="sendto" arity="5" since="OTP @OTP-14831@"/>
<fsummary>Send a message on a socket.</fsummary>
<desc>
<p>Send a message on a socket, to the specified destination.</p>
@@ -514,13 +514,13 @@
</func>
<func>
- <name name="setopt" arity="4" clause_i="1"/>
- <name name="setopt" arity="4" clause_i="2"/>
- <name name="setopt" arity="4" clause_i="3"/>
- <name name="setopt" arity="4" clause_i="4"/>
- <name name="setopt" arity="4" clause_i="5"/>
- <name name="setopt" arity="4" clause_i="6"/>
- <name name="setopt" arity="4" clause_i="7"/>
+ <name name="setopt" arity="4" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="setopt" arity="4" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="setopt" arity="4" clause_i="3" since="OTP @OTP-14831@"/>
+ <name name="setopt" arity="4" clause_i="4" since="OTP @OTP-14831@"/>
+ <name name="setopt" arity="4" clause_i="5" since="OTP @OTP-14831@"/>
+ <name name="setopt" arity="4" clause_i="6" since="OTP @OTP-14831@"/>
+ <name name="setopt" arity="4" clause_i="7" since="OTP @OTP-14831@"/>
<fsummary>Set options on a socket.</fsummary>
<desc>
<p>Set options on a socket.</p>
@@ -543,7 +543,7 @@
</func>
<func>
- <name name="setopt" arity="4" clause_i="8"/>
+ <name name="setopt" arity="4" clause_i="8" since="OTP @OTP-14831@"/>
<fsummary>Set options on a socket.</fsummary>
<desc>
<p>Set options on a socket.</p>
@@ -566,7 +566,7 @@
</func>
<func>
- <name name="shutdown" arity="2"/>
+ <name name="shutdown" arity="2" since="OTP @OTP-14831@"/>
<fsummary>Shut down part of a full-duplex connection.</fsummary>
<desc>
<p>Shut down all or part of a full-duplex connection.</p>
@@ -574,7 +574,7 @@
</func>
<func>
- <name name="sockname" arity="1"/>
+ <name name="sockname" arity="1" since="OTP @OTP-14831@"/>
<fsummary>Get socket name.</fsummary>
<desc>
<p>Returns the current address to which the socket is bound.</p>
@@ -582,25 +582,25 @@
</func>
<func>
- <name name="supports" arity="0"/>
- <name name="supports" arity="1" clause_i="1"/>
- <name name="supports" arity="1" clause_i="2"/>
- <name name="supports" arity="1" clause_i="3"/>
- <name name="supports" arity="1" clause_i="4"/>
- <name name="supports" arity="2" clause_i="1"/>
- <name name="supports" arity="2" clause_i="2"/>
- <name name="supports" arity="2" clause_i="3"/>
- <name name="supports" arity="2" clause_i="4"/>
- <name name="supports" arity="2" clause_i="5"/>
- <name name="supports" arity="2" clause_i="6"/>
- <name name="supports" arity="2" clause_i="7"/>
- <name name="supports" arity="3" clause_i="1"/>
- <name name="supports" arity="3" clause_i="2"/>
- <name name="supports" arity="3" clause_i="3"/>
- <name name="supports" arity="3" clause_i="4"/>
- <name name="supports" arity="3" clause_i="5"/>
- <name name="supports" arity="3" clause_i="6"/>
- <name name="supports" arity="3" clause_i="7"/>
+ <name name="supports" arity="0" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="1" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="1" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="1" clause_i="3" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="1" clause_i="4" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="3" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="4" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="5" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="6" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="2" clause_i="7" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="1" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="2" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="3" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="4" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="5" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="6" since="OTP @OTP-14831@"/>
+ <name name="supports" arity="3" clause_i="7" since="OTP @OTP-14831@"/>
<fsummary>Report info about what the platform supports.</fsummary>
<desc>
<p>This function intends to retreive information about what the