This file is indexed.

/usr/share/doc/libcnf-dev/html/node37.html is in libcnf-dev 4.0-2.

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
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.2 beta6 (August 14th, 1998)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>More on Arrays</TITLE>
<META NAME="description" CONTENT="More on Arrays">
<META NAME="keywords" CONTENT="sun209">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="sun209.css">
<LINK REL="next" HREF="node41.html">
<LINK REL="previous" HREF="node36.html">
<LINK REL="up" HREF="sun209.html">
<LINK REL="next" HREF="node38.html">
</HEAD>
<BODY >
<BR> <HR>
<A NAME="tex2html585"
 HREF="node38.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
<A NAME="tex2html583"
 HREF="sun209.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
<A NAME="tex2html577"
 HREF="node36.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A>   <A HREF="sun209.html#stardoccontents"><IMG
 ALIGN="BOTTOM" BORDER="0" SRC="contents_motif.gif"
 ALT="252"></A>
<BR>
<B> Next:</B> <A NAME="tex2html586"
 HREF="node38.html">CHARACTER and LOGICAL Arrays</A>
<BR>
<B>Up:</B> <A NAME="tex2html584"
 HREF="sun209.html">CNF and F77 Mixed Language Programming - FORTRAN and C</A>
<BR>
<B> Previous:</B> <A NAME="tex2html578"
 HREF="node36.html">More on Calling FORTRAN from C</A>
<BR> <HR> <P>

<!--End of Navigation Panel-->

<H1><A NAME="SECTION000100000000000000000"></A><A NAME="xref_more_on_arrays"></A>
<BR>
More on Arrays
</H1>
For most data types arrays are handled simply, using pointers as already
demonstrated. However, for arrays of some types the data in the arrays
must be converted back and forth between C and FORTRAN representations. 
Macros and functions are provided to facilitate the conversions. 

<P>
Very often, the actual size of the FORTRAN array required will not be known 
until runtime so space for it must be allocated dynamically in a similar way
to 
<A HREF="node30.html#f77_chardyn">dynamic character strings</A>.

<P>
Macros  
<A HREF="node81.html#DECLARE_type_ARRAY_DYN"><TT>DECLARE_<I>type</I>_ARRAY_DYN</TT></A>
and
<A HREF="node83.html#F77_CREATE_type_ARRAY"><TT>F77_CREATE_type_ARRAY</TT></A>
are defined to do this.
They are designed for 1-dimensional arrays, having just the name and the number
of elements as parameters, but for Unix systems, at least, will work for 
multi-dimensional arrays.

<P>
For most types on all current systems, the <TT>CREATE_ARRAY</TT> macros
will not actually allocate space as no conversion of data is necessary, but
they are provided for contingency and completeness.

<P>
<BR> <HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"></A>

<UL>
<LI><A NAME="tex2html587"
 HREF="node38.html">CHARACTER and LOGICAL Arrays</A>
<LI><A NAME="tex2html588"
 HREF="node39.html">Arrays of <TT>pointer to char</TT></A>
<LI><A NAME="tex2html589"
 HREF="node40.html">POINTER Arrays</A>
</UL>
<!--End of Table of Child-Links-->
<BR> <HR>
<A NAME="tex2html585"
 HREF="node38.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
<A NAME="tex2html583"
 HREF="sun209.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
<A NAME="tex2html577"
 HREF="node36.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A>   <A HREF="sun209.html#stardoccontents"><IMG
 ALIGN="BOTTOM" BORDER="0" SRC="contents_motif.gif"
 ALT="252"></A>
<BR>
<B> Next:</B> <A NAME="tex2html586"
 HREF="node38.html">CHARACTER and LOGICAL Arrays</A>
<BR>
<B>Up:</B> <A NAME="tex2html584"
 HREF="sun209.html">CNF and F77 Mixed Language Programming - FORTRAN and C</A>
<BR>
<B> Previous:</B> <A NAME="tex2html578"
 HREF="node36.html">More on Calling FORTRAN from C</A>
<BR> <HR> <P>

<!--End of Navigation Panel-->
<ADDRESS>
<I>CNF and F77 Mixed Language Programming -- FORTRAN and C<BR>Starlink User Note 209<BR>P.M. Allan<BR>A.J. Chipperfield<BR>R.F. Warren-Smith<BR>19 January 2000<BR>E-mail:<A HREF="mailto:ussc@star.rl.ac.uk">ussc@star.rl.ac.uk</A></I>
</ADDRESS>
</BODY>
</HTML>