Mercurial > hg > Members > kono > nitros9-code
changeset 566:3339ee2e58bc
Several functions ready.
author | roug |
---|---|
date | Thu, 31 Oct 2002 22:05:32 +0000 |
parents | 0e84dcd81835 |
children | b3caab86dff9 |
files | docs/ccguide/close.refentry |
diffstat | 1 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/ccguide/close.refentry Thu Oct 31 22:05:32 2002 +0000 +++ b/docs/ccguide/close.refentry Thu Oct 31 22:05:32 2002 +0000 @@ -8,7 +8,7 @@ <funcsynopsis> <funcprototype> <funcdef><function>close</function></funcdef> - <paramdef>type <parameter>arg1</parameter></paramdef> + <paramdef>int <parameter>pn</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -22,7 +22,16 @@ <refsect1><title>Description</title> <para> -Placeholder +Close takes a path number, "pn", as returned from system calls +"open()", "creat()", or "dup()", and closes the associated +file. +</para> +<para> +Termination of a task always closes all open files +automatically, but it is necessary to close files where +multiple files are opened by the task, and it is desired to +re-use path numbers to avoid going over the system or process +path number limit. </para> </refsect1>