|
From: Vitor S. C. <vs...@us...> - 2008-07-11 17:02:32
|
Update of /cvsroot/yap/docs In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30868/docs Modified Files: yap.tex Log Message: fixes by Bart and Tom: mostly libraries but nasty one in indexing compilation. Index: yap.tex =================================================================== RCS file: /cvsroot/yap/docs/yap.tex,v retrieving revision 1.257 retrieving revision 1.258 diff -u -r1.257 -r1.258 --- yap.tex 26 Jun 2008 13:09:15 -0000 1.257 +++ yap.tex 11 Jul 2008 17:02:07 -0000 1.258 @@ -1663,8 +1663,9 @@ @item compilation_mode(+@var{Mode}) This extension controls how procedures are compiled. If @var{Mode} - is @code{compile} clauses are compiled and no source code is stored; - is @code{assert_all} clauses are asserted into the data-base. + is @code{compact} clauses are compiled and no source code is stored; + if it is @code{source} clauses are compiled and source code is stored; + if it is @code{assert_all} clauses are asserted into the data-base. @end table @item ensure_loaded(@var{+F}) [ISO] @@ -14148,6 +14149,15 @@ three streams, that are always associated with the three standard Unix streams. It is most useful if you are doing @code{fork()}. +@findex YAP_FlushAllStreams (C-Interface function) +Last, one may sometimes need to flush all streams: +@example + void YAP_CloseAllOpenStreams(void) +@end example +@noindent +It is also useful before you do a @code{fork()}, or otherwise you may +have trouble with unflushed output. + @findex YAP_OpenStream (C-Interface function) The next routine allows a currently open file to become a stream. The routine receives as arguments a file descriptor, the true file name as a |