diff options
author | Hans Bolinder <[email protected]> | 2011-08-26 15:29:29 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-08-26 15:29:29 +0200 |
commit | efc604ee01ce88ae2c18a640ef0adf90700848a4 (patch) | |
tree | 9604eb2f5c0491fbe797cd4750fa254893691e7c /lib/kernel/doc/src/gen_udp.xml | |
parent | d2408a6285505641b42495bdd2284871fb9931dd (diff) | |
parent | 9a52e239698ae62cddbc0d780502c72458867b6f (diff) | |
download | otp-efc604ee01ce88ae2c18a640ef0adf90700848a4.tar.gz otp-efc604ee01ce88ae2c18a640ef0adf90700848a4.tar.bz2 otp-efc604ee01ce88ae2c18a640ef0adf90700848a4.zip |
Merge branch 'dev' into major
* dev:
Improve types and specifications of the inet modules
Diffstat (limited to 'lib/kernel/doc/src/gen_udp.xml')
-rw-r--r-- | lib/kernel/doc/src/gen_udp.xml | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/lib/kernel/doc/src/gen_udp.xml b/lib/kernel/doc/src/gen_udp.xml index c0e783f508..daa9b7d887 100644 --- a/lib/kernel/doc/src/gen_udp.xml +++ b/lib/kernel/doc/src/gen_udp.xml @@ -36,25 +36,10 @@ <datatypes> <datatype> - <name name="hostname"/> + <name name="option"/> </datatype> <datatype> - <name name="ip_address"/> - <desc> - <p>Represents an address of a TCP socket. - It is a tuple as explained in - <seealso marker="inet">inet(3)</seealso>.</p> - </desc> - </datatype> - <datatype> - <name name="port_number"/> - </datatype> - <datatype> - <name name="posix"/> - <desc> - <p>See <seealso marker="inet#error_codes"> - inet(3); POSIX Error Codes</seealso>.</p> - </desc> + <name name="option_name"/> </datatype> <datatype> <name><marker id="type-socket">socket()</marker></name> @@ -87,7 +72,7 @@ <p>If the host has several network interfaces, this option specifies which one to use.</p> </item> - <tag><c>{fd, int()}</c></tag> + <tag><c>{fd, integer() >= 0}</c></tag> <item> <p>If a socket has somehow been opened without using <c>gen_udp</c>, use this option to pass the file |