From 0f423c54e4dc7348b551508fbcb3b479420a196f Mon Sep 17 00:00:00 2001
From: Patrik Nyblom
Date: Tue, 8 Mar 2011 16:04:56 +0100
Subject: Change io.xml so that html anchors gets generated for all arities
---
lib/stdlib/doc/src/io.xml | 53 +++++++++++++++++++++++++++++++----------------
1 file changed, 35 insertions(+), 18 deletions(-)
(limited to 'lib/stdlib/doc')
diff --git a/lib/stdlib/doc/src/io.xml b/lib/stdlib/doc/src/io.xml
index efbb1fc078..9d5bea0c2a 100644
--- a/lib/stdlib/doc/src/io.xml
+++ b/lib/stdlib/doc/src/io.xml
@@ -4,7 +4,7 @@
- 19962010
+ 19962011
Ericsson AB. All Rights Reserved.
@@ -81,7 +81,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- columns([IoDevice]) -> {ok,int()} | {error, enotsup}
+ columns() -> {ok,int()} | {error, enotsup}
+ columns(IoDevice) -> {ok,int()} | {error, enotsup}
Get the number of columns of a device
IoDevice = io_device()
@@ -94,7 +95,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- put_chars([IoDevice,] IoData) -> ok
+ put_chars(IoData) -> ok
+ put_chars(IoDevice, IoData) -> ok
Write a list of characters
IoDevice = io_device()
@@ -106,7 +108,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- nl([IoDevice]) -> ok
+ nl() -> ok
+ nl(IoDevice) -> ok
Write a newline
IoDevice = io_device()
@@ -116,7 +119,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- get_chars([IoDevice,] Prompt, Count) -> Data | eof
+ get_chars(Prompt, Count) -> Data | eof
+ get_chars(IoDevice, Prompt, Count) -> Data | eof
Read a specified number of characters
IoDevice = io_device()
@@ -150,7 +154,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- get_line([IoDevice,] Prompt) -> Data | eof | {error,Reason}
+ get_line(Prompt) -> Data | eof | {error,Reason}
+ get_line(IoDevice, Prompt) -> Data | eof | {error,Reason}
Read a line
IoDevice = io_device()
@@ -183,7 +188,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- getopts([IoDevice]) -> Opts
+ getopts() -> Opts
+ getopts(IoDevice) -> Opts
Get the supported options and values from an I/O-server
IoDevice = io_device()
@@ -210,7 +216,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- setopts([IoDevice,] Opts) -> ok | {error, Reason}
+ setopts(Opts) -> ok | {error, Reason}
+ setopts(IoDevice, Opts) -> ok | {error, Reason}
Set options
IoDevice = io_device()
@@ -281,7 +288,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- write([IoDevice,] Term) -> ok
+ write(Term) -> ok
+ write(IoDevice, Term) -> ok
Write a term
IoDevice = io_device()
@@ -293,7 +301,8 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
- read([IoDevice,] Prompt) -> Result
+ read(Prompt) -> Result
+ read(IoDevice, Prompt) -> Result
Read a term
IoDevice = io_device()
@@ -356,9 +365,11 @@ charlist() = [unicode_char() | unicode_binary() | charlist()]
fwrite(Format) ->
- fwrite([IoDevice,] Format, Data) -> ok
+ fwrite(Format, Data) -> ok
+ fwrite(IoDevice, Format, Data) -> ok
format(Format) ->
- format([IoDevice,] Format, Data) -> ok
+ format(Format, Data) -> ok
+ format(IoDevice, Format, Data) -> ok
Write formatted output
IoDevice = io_device()
@@ -660,7 +671,8 @@ ok
- fread([IoDevice,] Prompt, Format) -> Result
+ fread(Prompt, Format) -> Result
+ fread(IoDevice, Prompt, Format) -> Result
Read formatted input
IoDevice = io_device()
@@ -820,7 +832,8 @@ enter>: alan : joe
- rows([IoDevice]) -> {ok,int()} | {error, enotsup}
+ rows() -> {ok,int()} | {error, enotsup}
+ rows(IoDevice) -> {ok,int()} | {error, enotsup}
Get the number of rows of a device
IoDevice = io_device()
@@ -834,7 +847,8 @@ enter>: alan : joe
scan_erl_exprs(Prompt) ->
- scan_erl_exprs([IoDevice,] Prompt, StartLine) -> Result
+ scan_erl_exprs(Prompt, StartLine) -> Result
+ scan_erl_exprs(IoDevice, Prompt, StartLine) -> Result
Read and tokenize Erlang expressions
IoDevice = io_device()
@@ -877,7 +891,8 @@ enter>1.0er.
scan_erl_form(Prompt) ->
- scan_erl_form([IoDevice,] Prompt, StartLine) -> Result
+ scan_erl_form(Prompt, StartLine) -> Result
+ scan_erl_form(IoDevice, Prompt, StartLine) -> Result
Read and tokenize an Erlang form
IoDevice = io_device()
@@ -900,7 +915,8 @@ enter>1.0er.
parse_erl_exprs(Prompt) ->
- parse_erl_exprs([IoDevice,] Prompt, StartLine) -> Result
+ parse_erl_exprs(Prompt, StartLine) -> Result
+ parse_erl_exprs(IoDevice, Prompt, StartLine) -> Result
Read, tokenize and parse Erlang expressions
IoDevice = io_device()
@@ -943,7 +959,8 @@ enter>abc("hey".
parse_erl_form(Prompt) ->
- parse_erl_form([IoDevice,] Prompt, StartLine) -> Result
+ parse_erl_form(Prompt, StartLine) -> Result
+ parse_erl_form(IoDevice, Prompt, StartLine) -> Result
Read, tokenize and parse an Erlang form
IoDevice = io_device()
--
cgit v1.2.3
From 7f954ae5bd931753bfe421c5234be129c171d310 Mon Sep 17 00:00:00 2001
From: Patrik Nyblom
Date: Wed, 9 Mar 2011 10:29:52 +0100
Subject: Remove link_check warnings re httpc.xml,sys.xml and unicode.xml
---
lib/stdlib/doc/src/sys.xml | 6 +++---
lib/stdlib/doc/src/unicode.xml | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
(limited to 'lib/stdlib/doc')
diff --git a/lib/stdlib/doc/src/sys.xml b/lib/stdlib/doc/src/sys.xml
index 8cbfb9387b..efa8922a9d 100644
--- a/lib/stdlib/doc/src/sys.xml
+++ b/lib/stdlib/doc/src/sys.xml
@@ -4,7 +4,7 @@
- 19962009
+ 19962011
Ericsson AB. All Rights Reserved.
@@ -243,8 +243,8 @@
customise the value of Misc by exporting
a format_status/2 function that contributes
module-specific information;
- see gen_server:format_status/2
- and gen_fsm:format_status/2
+ see gen_server:format_status/2
+ and gen_fsm:format_status/2
for more details.
diff --git a/lib/stdlib/doc/src/unicode.xml b/lib/stdlib/doc/src/unicode.xml
index 60edd8ade9..e3a25a407b 100644
--- a/lib/stdlib/doc/src/unicode.xml
+++ b/lib/stdlib/doc/src/unicode.xml
@@ -5,7 +5,7 @@
1996
- 2009
+ 2011
Ericsson AB, All Rights Reserved
@@ -40,7 +40,7 @@
DATA TYPES
-
+
unicode_binary() = binary() with characters encoded in UTF-8 coding standard
unicode_char() = integer() representing valid unicode codepoint
--
cgit v1.2.3