/usr/share/doc/gprolog-doc/gprolog.html/gprolog065.html is in gprolog-doc 1.3.0-6.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<META name="GENERATOR" content="hevea 1.10">
<LINK rel="stylesheet" type="text/css" href="gprolog.css">
<TITLE>Interfacing Prolog and C</TITLE>
</HEAD>
<BODY TEXT=black BGCOLOR=white>
<A HREF="gprolog054.html"><IMG SRC="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="gprolog071.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
<HR>
<H2 CLASS="section"><A NAME="htoc340">9</A>  Interfacing Prolog and C</H2><P>
<A NAME="Interfacing-Prolog-and-C"></A>
</P><UL>
<LI><A HREF="gprolog066.html">Calling C from Prolog</A>
<UL>
<LI><A HREF="gprolog066.html#toc277">Introduction</A>
</LI><LI><A HREF="gprolog066.html#toc278"><TT>foreign/2</TT> directive</A>
</LI><LI><A HREF="gprolog066.html#toc279">The C function</A>
</LI><LI><A HREF="gprolog066.html#toc280">Input arguments</A>
</LI><LI><A HREF="gprolog066.html#toc281">Output arguments</A>
</LI><LI><A HREF="gprolog066.html#toc282">Input/output arguments</A>
</LI><LI><A HREF="gprolog066.html#toc283">Writing non-deterministic C code</A>
</LI><LI><A HREF="gprolog066.html#toc284">Example: input and output arguments</A>
</LI><LI><A HREF="gprolog066.html#toc285">Example: non-deterministic code</A>
</LI><LI><A HREF="gprolog066.html#toc286">Example: input/output arguments</A>
</LI></UL>
</LI><LI><A HREF="gprolog067.html">Manipulating Prolog terms</A>
<UL>
<LI><A HREF="gprolog067.html#toc287">Introduction</A>
</LI><LI><A HREF="gprolog067.html#toc288">Managing Prolog atoms</A>
</LI><LI><A HREF="gprolog067.html#toc289">Reading Prolog terms</A>
</LI><LI><A HREF="gprolog067.html#toc290">Unifying Prolog terms</A>
</LI><LI><A HREF="gprolog067.html#toc291">Creating Prolog terms</A>
</LI><LI><A HREF="gprolog067.html#toc292">Testing the type of Prolog terms</A>
</LI><LI><A HREF="gprolog067.html#toc293">Comparing Prolog terms</A>
</LI><LI><A HREF="gprolog067.html#toc294">Copying Prolog terms</A>
</LI><LI><A HREF="gprolog067.html#toc295">Comparing and evaluating arithmetic expressions</A>
</LI></UL>
</LI><LI><A HREF="gprolog068.html">Raising Prolog errors</A>
<UL>
<LI><A HREF="gprolog068.html#toc296">Managing the error context</A>
</LI><LI><A HREF="gprolog068.html#toc297">Instantiation error</A>
</LI><LI><A HREF="gprolog068.html#toc298">Type error</A>
</LI><LI><A HREF="gprolog068.html#toc299">Domain error</A>
</LI><LI><A HREF="gprolog068.html#toc300">Existence error</A>
</LI><LI><A HREF="gprolog068.html#toc301">Permission error</A>
</LI><LI><A HREF="gprolog068.html#toc302">Representation error</A>
</LI><LI><A HREF="gprolog068.html#toc303">Evaluation error</A>
</LI><LI><A HREF="gprolog068.html#toc304">Resource error</A>
</LI><LI><A HREF="gprolog068.html#toc305">Syntax error</A>
</LI><LI><A HREF="gprolog068.html#toc306">System error</A>
</LI></UL>
</LI><LI><A HREF="gprolog069.html">Calling Prolog from C</A>
<UL>
<LI><A HREF="gprolog069.html#toc307">Introduction</A>
</LI><LI><A HREF="gprolog069.html#toc308">Example: <TT>my_call/1</TT> - a <TT>call/1</TT> clone</A>
</LI><LI><A HREF="gprolog069.html#toc309">Example: recovering the list of all operators</A>
</LI></UL>
</LI><LI><A HREF="gprolog070.html">Defining a new C <TT>main()</TT> function</A>
<UL>
<LI><A HREF="gprolog070.html#toc310">Example: asking for ancestors</A>
</LI></UL>
</LI></UL>
<HR SIZE=2>
Copyright (C) 1999-2007 Daniel Diaz
Verbatim copying and distribution of this entire article is permitted in any
medium, provided this notice is preserved. <A HREF="index.html#copyright">More about the copyright</A>
<HR>
<A HREF="gprolog054.html"><IMG SRC="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC="contents_motif.gif" ALT="Up"></A>
<A HREF="gprolog071.html"><IMG SRC="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
|