version 1.6, 2001/03/12 05:01:18 |
version 1.7, 2001/04/23 05:45:37 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/io.texi,v 1.5 2000/11/13 00:16:36 noro Exp $ |
@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/io.texi,v 1.6 2001/03/12 05:01:18 noro Exp $ |
\BJP |
\BJP |
@node 入出力,,, 組み込み函数 |
@node 入出力,,, 組み込み函数 |
@section 入出力 |
@section 入出力 |
|
|
@item @code{open_file()} opens a file. |
@item @code{open_file()} opens a file. |
If @var{mode} is not specified, a file is opened for reading. |
If @var{mode} is not specified, a file is opened for reading. |
If @var{mode} is specified, it is used as the mode specification for |
If @var{mode} is specified, it is used as the mode specification for |
C standard I/O function {\tt fopen()}. For example @code{"w"} requests |
C standard I/O function @code{fopen()}. For example @code{"w"} requests |
that the file is truncated to zero length or created for writing. |
that the file is truncated to zero length or created for writing. |
@code{"a"} requests that the file is opened for writing or created |
@code{"a"} requests that the file is opened for writing or created |
if it does not exist. |
if it does not exist. |