diff options
Diffstat (limited to 'lib/stdlib/doc')
| -rw-r--r-- | lib/stdlib/doc/src/io.xml | 2 | ||||
| -rw-r--r-- | lib/stdlib/doc/src/supervisor.xml | 13 | 
2 files changed, 4 insertions, 11 deletions
| diff --git a/lib/stdlib/doc/src/io.xml b/lib/stdlib/doc/src/io.xml index 667d758e29..e6d262466c 100644 --- a/lib/stdlib/doc/src/io.xml +++ b/lib/stdlib/doc/src/io.xml @@ -70,7 +70,7 @@        <desc>          <p>Either <c>standard_io</c>, <c>standard_error</c>, a            registered name, or a pid handling IO protocols (returned from -            <seealso marker="file#open/2">file:open/2</seealso>).</p> +            <seealso marker="kernel:file#open/2">file:open/2</seealso>).</p>        </desc>      </datatype>      <datatype> diff --git a/lib/stdlib/doc/src/supervisor.xml b/lib/stdlib/doc/src/supervisor.xml index cddb55e5c5..33a7f5bb6a 100644 --- a/lib/stdlib/doc/src/supervisor.xml +++ b/lib/stdlib/doc/src/supervisor.xml @@ -127,25 +127,18 @@ child_spec() = {Id,StartFunc,Restart,Shutdown,Type,Modules}          <p><c>StartFunc</c> defines the function call used to start            the child process. It should be a module-function-arguments            tuple <c>{M,F,A}</c> used as <c>apply(M,F,A)</c>.</p> -        <p>          <br></br> -</p>          <p>The start function <em>must create and link to</em> the child            process, and should return <c>{ok,Child}</c> or            <c>{ok,Child,Info}</c> where <c>Child</c> is the pid of            the child process and <c>Info</c> an arbitrary term which is            ignored by the supervisor.</p> -        <p>          <br></br> -</p>          <p>The start function can also return <c>ignore</c> if the child            process for some reason cannot be started, in which case -          the child specification will be kept by the supervisor but -          the non-existing child process will be ignored.</p> -        <p>          <br></br> -</p> +          the child specification will be kept by the supervisor +	  (unless it is a temporary child) but the non-existing child +	  process will be ignored.</p>          <p>If something goes wrong, the function may also return an            error tuple <c>{error,Error}</c>.</p> -        <p>          <br></br> -</p>          <p>Note that the <c>start_link</c> functions of the different            behaviour modules fulfill the above requirements.</p>        </item> | 
