Mercurial > hg > minc-tools
changeset 721:d4171a33bb79
Added tempfile argument to miexpand_file.
author | neelin <neelin> |
---|---|
date | Tue, 24 Jan 1995 08:40:25 +0000 |
parents | f6b879249bab |
children | 8f86cfcb15c6 |
files | doc/prog_ref.tex |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/prog_ref.tex +++ b/doc/prog_ref.tex @@ -603,11 +603,12 @@ \code{path} is not compressed, then its name is returned. \code{*create\_tempfile} is set to TRUE if a temporary file is created (and the caller needs to delete the file), FALSE if the -original file name is returned. If -\code{header\_only} is TRUE, then the routine will expand -only enough of the file to read the header. +original file name is returned. If tempfile is NULL, then the routine +generates its own temporary file name, otherwise, the user provided +name is used. If \code{header\_only} is TRUE, then the routine will +expand only enough of the file to read the header. \begin{verbatim} -public char *miexpand_file(char *path, int header_only, +public char *miexpand_file(char *path, char *tempfile, int header_only, int *created_tempfile); \end{verbatim}