From 229d0d8ca88bc344bed89e46541b325c1d267996 Mon Sep 17 00:00:00 2001
From: Hans Bolinder
Date: Fri, 6 May 2011 15:58:09 +0200
Subject: r Use Erlang specs and types for documentation
---
lib/stdlib/doc/src/lib.xml | 37 ++++++++++---------------------------
1 file changed, 10 insertions(+), 27 deletions(-)
(limited to 'lib/stdlib/doc/src/lib.xml')
diff --git a/lib/stdlib/doc/src/lib.xml b/lib/stdlib/doc/src/lib.xml
index 046add48e8..19fb827cbf 100644
--- a/lib/stdlib/doc/src/lib.xml
+++ b/lib/stdlib/doc/src/lib.xml
@@ -4,7 +4,7 @@
- 19962009
+ 19962011
Ericsson AB. All Rights Reserved.
@@ -37,27 +37,23 @@
- flush_receive() -> void()
+
Flush messages
Flushes the message buffer of the current process.
- error_message(Format, Args) -> ok
+
Print error message
-
- Format = atom() | string() | binary()
- Args = [term()]
-
- Prints error message Args in accordance with
- Format. Similar to io:format/2, see
+
Prints error message Args in accordance with
+ Format. Similar to io:format/2, see
io(3).
- progname() -> atom()
+
Return name of Erlang start script
Returns the name of the script that started the current
@@ -65,37 +61,24 @@
- nonl(String1) -> String2
+
Remove last newline
-
- String1 = String2 = string()
-
Removes the last newline character, if any, in
- String1.
+ String1.
- send(To, Msg)
+
Send a message
-
- To = pid() | Name | {Name,Node}
- Name = Node = atom()
- Msg = term()
-
This function to makes it possible to send a message using
the apply/3 BIF.
- sendw(To, Msg)
+
Send a message and wait for an answer
-
- To = pid() | Name | {Name,Node}
- Name = Node = atom()
- Msg = term()
-
As send/2, but waits for an answer. It is implemented
as follows:
--
cgit v1.2.3