From bbb24e2d361cd7acac6422041d68c571a0453ef0 Mon Sep 17 00:00:00 2001
From: Tuncer Ayaz
The basic ideas from the original protocol still holds. The io_server +
The basic ideas from the original protocol still hold. The io_server and client communicate with one single, rather simplistic protocol and no server state is ever present in the client. Any io_server can be used together with any client code and client code need not be aware @@ -62,7 +62,7 @@ of the actual device the io_server communicates with.
As described in Roberts paper, servers and clients communicate using +
As described in Robert's paper, servers and clients communicate using io_request/io_reply tuples as follows:
{io_request, From, ReplyAs, Request}
@@ -103,7 +103,7 @@ Reply part.
Module, Function, ExtraArgs denotes a function and arguments to determine when enough data is written. The function should take two @@ -550,7 +550,7 @@ request({get_line, Encoding, _Prompt}, State) ->
Here we have cheated a little by more or less only implementing -get_until and using internal helpers to implement get__chars and +get_until and using internal helpers to implement get_chars and get_line. In production code, this might be to inefficient, but that of course depends on the frequency of the different requests. Before we start actually implementing the functions put_chars/2 and @@ -618,7 +618,7 @@ encounter an error or the list is exhausted. The last return value is sent back to the client (it's first returned to the main loop and then sent back by the function io_reply).
-The getopt and setopt requests is also simple to handle, we just +
The getopt and setopt requests are also simple to handle, we just change or read our state record:
--
cgit v1.2.3
From 3a6b8ea771342bbeac91f2716fe7953ea1f6510f Mon Sep 17 00:00:00 2001
From: Tuncer Ayaz
Date: Wed, 12 Oct 2011 13:41:21 +0200
Subject: Fix typo in test_server(3)
---
lib/test_server/doc/src/test_server.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib')
diff --git a/lib/test_server/doc/src/test_server.xml b/lib/test_server/doc/src/test_server.xml
index 78bb922cc5..5bfa42c36f 100644
--- a/lib/test_server/doc/src/test_server.xml
+++ b/lib/test_server/doc/src/test_server.xml
@@ -203,7 +203,7 @@
format(Format) -> ok
format(Format, Args)
- format(Pri,Format)
+ format(Pri, Format)
format(Pri, Format, Args)
--
cgit v1.2.3
From 6a223b057ceac584a1eff201845b7116dd8430e3 Mon Sep 17 00:00:00 2001
From: Tuncer Ayaz
Date: Fri, 21 Oct 2011 12:00:08 +0200
Subject: file: correct make_link/2 and make_symlink/2 docs
---
lib/kernel/doc/src/file.xml | 17 +++++++++--------
lib/kernel/src/file.erl | 6 +++---
2 files changed, 12 insertions(+), 11 deletions(-)
(limited to 'lib')
diff --git a/lib/kernel/doc/src/file.xml b/lib/kernel/doc/src/file.xml
index c6a1f25dd9..719cbba2b8 100644
--- a/lib/kernel/doc/src/file.xml
+++ b/lib/kernel/doc/src/file.xml
@@ -539,7 +539,7 @@
Makes a hard link from Existing to
New , on
- platforms that support links (Unix). This function returns
+ platforms that support links (Unix and Windows). This function returns
ok if the link was successfully created, or
{error, Reason } . On platforms that do not support
links, {error,enotsup} is returned.
@@ -566,11 +566,12 @@
Make a symbolic link to a file or directory
- This function creates a symbolic link Name2 to
- the file or directory Name1 , on platforms that
- support
- symbolic links (most Unix systems). Name1 need not
- exist. This function returns ok if the link was
+
This function creates a symbolic link New to
+ the file or directory Existing , on platforms that
+ support symbolic links (most Unix systems and Windows beginning with
+ Vista).
+ Existing need not exist.
+ This function returns ok if the link was
successfully created, or {error, Reason } .
On platforms
that do not support symbolic links, {error, enotsup}
@@ -580,11 +581,11 @@
eacces
-
Missing read or write permissions for the parent directories
- of Name1 or Name2 .
+ of Existing or New .
For type
For type
If
All files are searched for in the current path. It is
assumed that the
May throw exception
May throw exception
The command line flag