From 02aca536aec93edd799d67615e47bdb7b5babf4a Mon Sep 17 00:00:00 2001
From: Hans Bolinder
A list of application versions that the application
depends on. An example of such an application version is
A tuple where the elements are of type
Use
Use
Use
-
Sets the magic cookie of
An application archive file and a regular application directory
may coexist. This may be useful when there is a need of having
@@ -242,7 +242,7 @@
particular useful to set the flag to
The With a call to The function The The The The function accepts the following parameters: The monitor tag is always The The function accepts the following parameters: The filesystem path to the directory where the driver
object file is situated. The filename of the object file
@@ -665,7 +665,7 @@
to have only one loader of a driver one wants to
upgrade in a running system! The name parameter is the name of the driver to be used
in subsequent calls to A number of options can be specified to control the
loading operation. The options are given as a list of
two-tuples, the tuples having the following values and
meanings: This option is to provide options that will change
its general behavior and will "stick" to the driver
@@ -701,7 +701,7 @@
when the last A This option is used when one wants to
reload a driver from disk, most often in a
@@ -910,13 +910,13 @@
The function accepts the following parameters: The name parameter is the name of the driver to be
unloaded. The name can be specified either as an
The This option creates a driver monitor if the condition
given in Enables or disables printout of standard events to a file. This is done by adding or deleting the standard event handler
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
index 4954568086..9cd4cfa712 100644
--- a/lib/kernel/doc/src/file.xml
+++ b/lib/kernel/doc/src/file.xml
@@ -87,9 +87,10 @@
A file descriptor representing a file opened in Lists all files in a directory, except files
+ Lists all files in a directory, except files
with "raw" names. Returns
The current system access to the file. The last time the file was read. The last time the file was written. The interpretation of this time field depends on
the operating system. On Unix, it is the last time
@@ -1745,7 +1746,7 @@
See If the OS used does not support sendfile, an Erlang fallback
using file:read and gen_tcp:send is used. The option list can contain the following options:
+ The option list can contain the following options: If the
The following fields are used from the record, if they are given.
The last time the file was read.
The last time the file was written.
On Unix, any value give for this field will be ignored
(the "ctime" for the file will be set to the current
diff --git a/lib/kernel/doc/src/gen_sctp.xml b/lib/kernel/doc/src/gen_sctp.xml
index b704d90613..456108a2fe 100644
--- a/lib/kernel/doc/src/gen_sctp.xml
+++ b/lib/kernel/doc/src/gen_sctp.xml
@@ -77,9 +77,10 @@
An opaque term returned in for example #sctp_paddr_change{}
+ Socket identifier returned from
WARNING:Using a value of
WARNING:Using a value of
The number of outbound and inbound streams can be set by
giving an
connect(Socket , Ip,Port , +connect(Socket, Ip, Port>, [{sctp_initmsg,#sctp_initmsg{num_ostreams=OutStreams, max_instreams=MaxInStreams}}])All options
are set on the socket before the diff --git a/lib/kernel/doc/src/gen_tcp.xml b/lib/kernel/doc/src/gen_tcp.xml index 8d9f09cea7..6a19e76c4f 100644 --- a/lib/kernel/doc/src/gen_tcp.xml +++ b/lib/kernel/doc/src/gen_tcp.xml @@ -78,9 +78,10 @@ do_recv(Sock, Bs) -> Opt - diff --git a/lib/kernel/doc/src/gen_udp.xml b/lib/kernel/doc/src/gen_udp.xml index 6f34aba43c..79cd87dcef 100644 --- a/lib/kernel/doc/src/gen_udp.xml +++ b/lib/kernel/doc/src/gen_udp.xml @@ -43,9 +43,9 @@+ socket() socket() - As returned by accept/1,2 and connect/3,4.
+
+ As returned by accept/1,2 and connect/3,4. - diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml index e6d418dc58..088d78c1d6 100644 --- a/lib/kernel/doc/src/inet.xml +++ b/lib/kernel/doc/src/inet.xml @@ -4,7 +4,7 @@+ socket() socket() - As returned by open/1,2.
+
As returned by open/1,2. - 1997 2013 +1997 2015 Ericsson AB. All Rights Reserved. @@ -117,8 +117,9 @@ fe80::204:acff:fe17:bf38
See
Do not rely too much on the order of
The Parses an ip_address() and returns an IPv4 or IPv6 address string. Parses an
Parses an IPv4 address string and returns an ip4_address(). +
Parses an IPv4 address string and returns an
Parses an IPv4 address string containing four fields, i.e not shortened, and returns an ip4_address().
+Parses an IPv4 address string containing four fields, i.e not shortened, and returns an
Parses an IPv6 address string and returns an ip6_address(). +
Parses an IPv6 address string and returns an
Parses an IPv6 address string and returns an ip6_address(). - Does not accept IPv4 adresses.
+Parses an IPv6 address string and returns an
Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Accepts a shortened IPv4 address string.
+Parses an IPv4 or IPv6 address string and returns an
Parses an IPv4 or IPv6 address string and returns an ip4_address() or ip6_address(). Does not accept a shortened IPv4 address string.
+Parses an IPv4 or IPv6 address string and returns an
+ Example:
setcap cap_sys_admin,cap_sys_ptrace,cap_dac_read_search+epi beam.smp
- Note also that the filesystem containing the virtual machine
+ Note also that the filesystem containing the virtual machine
executable (beam.smp in the example above) has to be local,
mounted without the nosetuid flag,
support extended attributes and that
diff --git a/lib/kernel/doc/src/inet_res.xml b/lib/kernel/doc/src/inet_res.xml
index 6a2c9b1955..851a36aba9 100644
--- a/lib/kernel/doc/src/inet_res.xml
+++ b/lib/kernel/doc/src/inet_res.xml
@@ -4,7 +4,7 @@
- 2009 2013
+ 2009 2015
Ericsson AB. All Rights Reserved.
@@ -77,8 +77,11 @@
query is tried for the alt_nameservers .
The following data types concern the resolver:
+Resolver types:
A string with no adjacent dots.
This is the start of a hiearchy of opaque data structures that can be examined with access functions in inet_dns that return lists of {Field,Value} tuples. The arity 2 functions - just return the value for a given field. + just return the value for a given field.
dns_msg() = DnsMsg inet_dns:msg(DnsMsg) -> @@ -154,18 +162,19 @@ dns_rr() = DnsRr | {version, integer()} | {z, integer()} | {data, dns_data()} ] - inet_dns:rr(DnsRr, Field) -> Value + inet_dns:rr(DnsRr, Field) -> Value-There is an info function for the types above: +
There is an info function for the types above:
+inet_dns:record_type(dns_msg()) -> msg; inet_dns:record_type(dns_header()) -> header; inet_dns:record_type(dns_query()) -> dns_query; inet_dns:record_type(dns_rr()) -> rr; -inet_dns:record_type(_) -> undefined. +inet_dns:record_type(_) -> undefined.-So; inet_dns:(inet_dns:record_type(X))(X) will convert -any of these data structures into a {Field,Value} list. +
So; inet_dns:(inet_dns:record_type(X))(X) will convert +any of these data structures into a {Field,Value} list.
Resolve a DNS record of the given type and class for the given name.
The returned
If This function calls As
Fix returned error from gen_tcp:accept/1,2 when - running out of ports + running out of ports.
The {error, enfile} return value is badly misleading and confusing for this case, since the Posix ENFILE errno @@ -1227,7 +1227,7 @@ {error, system_limit}, which is consistent with e.g. various file(3) functions. inet:format_error/1 has also been updated to support system_limit in the same manner - as file:format_error/1. (Thanks to Per Hedeland)
+ as file:format_error/1. (Thanks to Per Hedeland)Own Id: OTP-9990
Correct callback spec in application
module Refine warning about callback
specs with extra ranges Cleanup
@@ -1433,7 +1432,7 @@
analysis Fix crash in
Dialyzer Variable substitution was
not generalizing any unknown variables.
Own Id: OTP-9776
Returns current
OS system time can also be retreived by
-
Equivalent to
Equivalent to
Equivalent to
Equivalent to
Tests that
- ?assertMatch({bork, _}, f())
- Note that a guard
Note that a guard
- ?assertMatch({bork, X} when X > 0, f())
+ ?assertMatch({bork, X} when X > 0, f())
Here is an example of how to reconstruct source code from @@ -152,7 +153,6 @@ keys.
Searches for the first occurrence of
Works like
Compiles a list of files by calling
This function computes the number of gregorian days starting with year 0 and ending at the given date.
@@ -347,11 +347,11 @@This function checks if a date is a valid.
A digraph as returned by A digraph as returned by
The Erlang source file
This module implements an abstract type that is used by the
Erlang Compiler and its helper modules for holding data such as
column, line number, and text. The data type is a collection of
-
The Erlang Token Scanner returns tokens with a subset of the following annotations, depending on the options:
@@ -102,8 +102,8 @@A collection of annotations.
+Returns the column of the annotations
Returns the end location of the text of the
annotations
Returns the filename of the annotations
Returns
Returns the line of the annotations
Returns the location of the annotations
Creates a new collection of annotations given a location.
Modifies the filename of the annotations
Modifies the generated marker of the annotations
Modifies the line of the annotations
Modifies the location of the annotations
Modifies the record marker of the annotations
Modifies the text of the annotations
Returns the text of the annotations
Converts the Erlang data structure
The optional argument
The optional argument
This is the re-entrant scanner which scans characters until
a dot ('.' followed by a white space) or
@@ -324,9 +324,9 @@
Returns a list containing information about the token
The following The category of the token. The column where the token begins. The length of the token's text. The line where the token begins. The line and column where the token begins, or
just the line if the column unknown. The token's symbol. The following The column where the token begins. The length of the token's text. The line where the token begins. The line and column where the token begins, or
just the line if the column unknown.
The fun clauses parameter lists are: +
The fun clauses parameter lists are:
A complete
Opaque continuation used by This function provides an efficient way to update one or more
counters, without the hassle of having to look up an object, update
@@ -1700,11 +1701,11 @@ true
This function provides an efficient way to update one or more
elements within an object, without the hassle of having to look up,
diff --git a/lib/stdlib/doc/src/file_sorter.xml b/lib/stdlib/doc/src/file_sorter.xml
index 30e09c17b0..f033eebec7 100644
--- a/lib/stdlib/doc/src/file_sorter.xml
+++ b/lib/stdlib/doc/src/file_sorter.xml
@@ -223,82 +223,82 @@ output(L) ->
This function is called by a gen_event process when: This function is called by a gen_fsm process when:
The pid of the owner of the table.
+
The table access rights.
The number of objects inserted in the table.
+
The table type.
@@ -1626,6 +1627,7 @@ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
This function is called by a gen_server process when:
-Reads Reads a line from the standard input ( Reads a term Reads a term Reads characters from the standard input ( Reads data from the standard input ( Reads data from the standard input ( Reads data from the standard input
( Reads data from the standard input ( Searches the list of tuples Returns Searches the list of tuples A collection of math functions which return floats. Arguments
are numbers.
Bad input to maps module function will now yield the
- following exceptions:
Own Id: OTP-12657
Own Id: OTP-11173 Aux Id: seq12353
- The potential incompatibility refers to
-+ The potential incompatibility refers to:
(Thanks to James Fish and Steve Vinoski)
@@ -1036,22 +1035,28 @@
EEP43: New data type - Maps
- With Maps you may for instance:
For information on how to use Maps please see Map Expressions in the
The current implementation is without the following
- features:
Note that Maps is experimental during OTP 17.0.
@@ -1802,13 +1807,15 @@ supervisor or for the problematic child.
This introduces some incompatibilities in stdlib due to
- new return values from supervisor:
+ new return values from supervisor:
*** POTENTIAL INCOMPATIBILITY ***
@@ -1824,10 +1831,10 @@ Own Id: OTP-9782 Aux Id: seq11964
Use universal time as base in error logger +
Use universal time as base in error logger
Previous conversion used the deprecated - calendar:local_time_to_universal_time/1
+ calendar:local_time_to_universal_time/1Own Id: OTP-9854
Fix exception generation in the io module +
Fix exception generation in the io module
Some functions did not generate correct badarg exception - on a badarg exception.
+ on a badarg exception.Own Id: OTP-9045
One easy way of obtaining a unique value to seed with is to:
- random:seed(erlang:phash2 ([node() ]),
- erlang:monotonic_time() ,
- erlang:unique_integer() )
+random:seed(erlang:phash2([node()]),
+ erlang:monotonic_time(),
+ erlang:unique_integer())
+ See
Executes a regexp matching, returning
The following sections contain reference material for the +
By default, in UTF modes, characters with values greater than 255 do not match any of the POSIX character classes. However, if the PCRE_UCP option is passed -to pcre_compile(), some of the classes are changed so that Unicode +to pcre_compile(), some of the classes are changed so that Unicode character properties are used. This is achieved by replacing the POSIX classes by other sequences, as follows:
@@ -2078,10 +2078,10 @@ by other sequences, as follows:-abc #comment \n still comment
On encountering the # character, pcre_compile() skips along, looking for +
On encountering the # character, pcre_compile() skips along, looking for a newline in the pattern. The sequence \n is still literal at this stage, so it does not terminate the comment. Only an actual character with the code value 0x0a (the default newline) does so.
diff --git a/lib/stdlib/doc/src/sofs.xml b/lib/stdlib/doc/src/sofs.xml index 5d7648d9a1..53f6ca957a 100644 --- a/lib/stdlib/doc/src/sofs.xml +++ b/lib/stdlib/doc/src/sofs.xml @@ -398,8 +398,9 @@ fun(S) -> sofs:partition(1, S) endA tuple where the elements are of type
Dynamically adds a child specification to the supervisor
These functions are intended only to help with debugging. They are provided for
convenience, allowing developers to avoid having to create their own state extraction
functions and also avoid having to interactively extract state from the return values of
-
The value of
Same as
Same as
Same as
The name of a zip file. The name of a zip file. Call this function when profiling has been stopped to display
the results per process, that is:
This update has meant a few changes that
- may affect Common Test users in various ways:
+ may affect Common Test users in various ways:
Own Id: OTP-11305 Aux Id: OTP-11524
@@ -445,7 +445,7 @@ that were not opened with the {encoding,utf8} option. If then the argument contained unicode characters above 255, the file descriptor would crash. This has been corrected - by the following modifications:
Also, ~tp has been changed back to ~p unless it is
somehow likely that the argument includes strings. It is
@@ -615,7 +615,7 @@
- Update common test modules to handle unicode
+ Update common test modules to handle Unicode:
The normal way to native-compile an Erlang module using HiPE is to include the atom native
- in the Erlang compiler options, as in:
-
- 1> c(my_module, [native]).
- Options to the HiPE compiler are then passed as follows:
-
- 1> c(my_module, [native,{hipe,Options}]).
- For on-line help in the Erlang shell, call
+ 1> c(my_module, [native]).+
Options to the HiPE compiler are then passed as follows:
++ 1> c(my_module, [native,{hipe,Options}]).+
For on-line help in the Erlang shell, call
EEP43: New data type - Maps
- With Maps you may for instance:
For information on how to use Maps please see Map Expressions in the
The current implementation is without the following
- features:
Note that Maps is experimental during OTP 17.0.
@@ -602,19 +608,17 @@
No warnings for underspecs with remote
types Fix crash in Typer Fix Dialyzer's warning for its own
code Fix Dialyzer's warnings in
HiPE Add file/line info in a
particular Dialyzer crash Update
- inets test results
Own Id: OTP-9758
Correct callback spec in application
module Refine warning about callback
specs with extra ranges Cleanup
@@ -625,7 +629,7 @@
analysis Fix crash in
Dialyzer Variable substitution was
not generalizing any unknown variables.
Own Id: OTP-9776
EEP43: New data type - Maps
- With Maps you may for instance:
For information on how to use Maps please see Map Expressions in the
The current implementation is without the following
- features:
Note that Maps is experimental during OTP 17.0.
@@ -776,19 +782,17 @@ Own Id: OTP-9731
No warnings for underspecs with remote
types Fix crash in Typer Fix Dialyzer's warning for its own
code Fix Dialyzer's warnings in
HiPE Add file/line info in a
particular Dialyzer crash Update
- inets test results
Own Id: OTP-9758
Correct callback spec in application
module Refine warning about callback
specs with extra ranges Cleanup
@@ -799,7 +803,7 @@
analysis Fix crash in
Dialyzer Variable substitution was
not generalizing any unknown variables.
Own Id: OTP-9776
- The application consists of the following parts + The application consists of the following parts: