/usr/share/doc/libcnf-dev/html/node77.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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 | <!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>Full Description of F77 Macros</TITLE>
<META NAME="description" CONTENT="Full Description of F77 Macros">
<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="node147.html">
<LINK REL="previous" HREF="node66.html">
<LINK REL="up" HREF="sun209.html">
<LINK REL="next" HREF="node78.html">
</HEAD>
<BODY >
<BR> <HR>
<A NAME="tex2html1018"
HREF="node78.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
<A NAME="tex2html1016"
HREF="sun209.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A>
<A NAME="tex2html1010"
HREF="node76.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="tex2html1019"
HREF="node78.html">Generic Descriptions</A>
<BR>
<B>Up:</B> <A NAME="tex2html1017"
HREF="sun209.html">CNF and F77 Mixed Language Programming - FORTRAN and C</A>
<BR>
<B> Previous:</B> <A NAME="tex2html1011"
HREF="node76.html">Passing Arguments to a FORTRAN Routine</A>
<BR> <HR> <P>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION000190000000000000000"></A><A NAME="xref_full_description_of_f77_macros"></A><A NAME="f77_description"></A>
<BR>
Full Description of F77 Macros
</H1>
This appendix contains a full description of each macro. It is in two sections:
<A HREF="node78.html#f77_generic">Generic Descriptions</A>
containing those macros which may be described generically for the various
types and
<A HREF="node99.html#f77_specific">Specific Descriptions</A>
for those which need a specific description.
<P>
The effect of each macro is described and the expansion of the macro on each
of the supported systems is given.
The following classes are defined for the examples:
<DIV ALIGN="CENTER">
<TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="LEFT">All systems</TD>
<TD ALIGN="LEFT">All supported systems</TD>
</TR>
<TR><TD ALIGN="LEFT">All Unix</TD>
<TD ALIGN="LEFT">All supported Unix systems</TD>
</TR>
</TABLE>
</DIV>
<I>Not all the facilities listed here are available for VAX/VMS even
if a VMS example is given.
In some cases the macro expansions described here will not be correct for
VAX/VMS.
Consult the VMS Starlink documentation set for information on the VMS release.</I>
<P>
N.B.
It is important not to leave spaces around arguments in macros calls
as these spaces are then included in the macro expansion on some systems,
<I>i.e.</I> write <TT>F77_SUBROUTINE(fred)</TT>, not
<TT>F77_SUBROUTINE( fred )</TT>.
This seems to be a bug in the offending compilers, but the problem is there
none the less.
<P>
Many macros currently expand to an empty string on all currently supported
systems. Nevertheless, the macros should still be used to guard against them
being necessary on future systems.
<P>
<BR> <HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"></A>
<UL>
<LI><A NAME="tex2html1020"
HREF="node78.html">Generic Descriptions</A>
<LI><A NAME="tex2html1021"
HREF="node79.html">DECLARE_<I>type</I>
- Declare a FORTRAN variable
</A>
<LI><A NAME="tex2html1022"
HREF="node80.html">DECLARE_<I>type</I>_ARRAY
- Declare a FORTRAN array
</A>
<LI><A NAME="tex2html1023"
HREF="node81.html">DECLARE_<I>type</I>_ARRAY_DYN
- Declare a dynamic <I>type</I> array
</A>
<LI><A NAME="tex2html1024"
HREF="node82.html">F77_ASSOC_<I>type</I>_ARRAY
- Associate a FORTRAN array with a C array.
</A>
<LI><A NAME="tex2html1025"
HREF="node83.html">F77_CREATE_<I>type</I>_ARRAY
- Create an array of <I>type</I>.
</A>
<LI><A NAME="tex2html1026"
HREF="node84.html">F77_EXPORT_<I>type</I>
- Export a C variable to a FORTRAN variable.
</A>
<LI><A NAME="tex2html1027"
HREF="node85.html">F77_EXPORT_<I>type</I>_ARRAY
- Export an array of <I>type</I> from C
to FORTRAN
</A>
<LI><A NAME="tex2html1028"
HREF="node86.html">F77_FREE_<I>type</I>
- Free a dynamic variable of <I>type</I>
</A>
<LI><A NAME="tex2html1029"
HREF="node87.html">F77_IMPORT_<I>type</I>
- Import a FORTRAN variable to a C variable.
</A>
<LI><A NAME="tex2html1030"
HREF="node88.html">F77_IMPORT_<I>type</I>_ARRAY
- Import an array of <I>type</I> from FORTRAN
to C
</A>
<LI><A NAME="tex2html1031"
HREF="node89.html">F77_<I>type</I>_FUNCTION
- Declare a FORTRAN function
</A>
<LI><A NAME="tex2html1032"
HREF="node90.html">GENPTR_<I>type</I>
- Generate a pointer to an argument
</A>
<LI><A NAME="tex2html1033"
HREF="node91.html">GENPTR_<I>type</I>_ARRAY
- Generate a pointer to an array argument
</A>
<LI><A NAME="tex2html1034"
HREF="node92.html">GENPTR_<I>type</I>_FUNCTION
- Generate a pointer to a FUNCTION argument
</A>
<LI><A NAME="tex2html1035"
HREF="node93.html"><I>type</I>
- Declare a <I>type</I> argument
</A>
<LI><A NAME="tex2html1036"
HREF="node94.html"><I>type</I>_ARG
- Pass a <I>type</I> argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html1037"
HREF="node95.html"><I>type</I>_ARRAY
- Declare a array argument
</A>
<LI><A NAME="tex2html1038"
HREF="node96.html"><I>type</I>_ARRAY_ARG
- Pass an array argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html1039"
HREF="node97.html"><I>type</I>_FUNCTION
- Declare a FUNCTION argument
</A>
<LI><A NAME="tex2html1040"
HREF="node98.html"><I>type</I>_FUNCTION_ARG
- Pass a FUNCTION argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html1041"
HREF="node99.html">Specific Descriptions</A>
<LI><A NAME="tex2html1042"
HREF="node100.html">CHARACTER
- Declare a CHARACTER argument
</A>
<LI><A NAME="tex2html1043"
HREF="node101.html">CHARACTER_ARG
- Pass a CHARACTER argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html1044"
HREF="node102.html">CHARACTER_ARRAY
- Declare a CHARACTER array argument
</A>
<LI><A NAME="tex2html1045"
HREF="node103.html">CHARACTER_ARRAY_ARG
- Pass a CHARACTER array argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html1046"
HREF="node104.html">CHARACTER_RETURN_ARG
- Pass argument(s) that will be the return value of a FORTRAN CHARACTER
FUNCTION
</A>
<LI><A NAME="tex2html1047"
HREF="node105.html">CHARACTER_RETURN_VALUE
- Declare argument(s) that will be the return value of a FORTRAN CHARACTER
FUNCTION
</A>
<LI><A NAME="tex2html1048"
HREF="node106.html">DECLARE_CHARACTER
- Declare a CHARACTER variable
</A>
<LI><A NAME="tex2html1049"
HREF="node107.html">DECLARE_CHARACTER_ARRAY
- Declare a CHARACTER array
</A>
<LI><A NAME="tex2html1050"
HREF="node108.html">DECLARE_CHARACTER_DYN
- Declare a CHARACTER variable
</A>
<LI><A NAME="tex2html1051"
HREF="node109.html">F77_BLANK_COMMON
- Refer to blank common
</A>
<LI><A NAME="tex2html1052"
HREF="node110.html">F77_BYTE_TYPE
- Define the type BYTE
</A>
<LI><A NAME="tex2html1053"
HREF="node111.html">F77_CALL
- Call a FORTRAN routine from C
</A>
<LI><A NAME="tex2html1054"
HREF="node112.html">F77_CHARACTER_ARG_TYPE
- Define the type of a FORTRAN CHARACTER argument
</A>
<LI><A NAME="tex2html1055"
HREF="node113.html">F77_CHARACTER_ARRAY_ARG_TYPE
- Define the type of a FORTRAN CHARACTER array argument
</A>
<LI><A NAME="tex2html1056"
HREF="node114.html">F77_CHARACTER_TYPE
- Define the type CHARACTER
</A>
<LI><A NAME="tex2html1057"
HREF="node115.html">F77_CREATE_CHARACTER
- Create a FORTRAN CHARACTER variable
</A>
<LI><A NAME="tex2html1058"
HREF="node116.html">F77_CREATE_CHARACTER_ARRAY
- Create a FORTRAN CHARACTER array
</A>
<LI><A NAME="tex2html1059"
HREF="node117.html">F77_CREATE_CHARACTER_ARRAY_M
- Create a FORTRAN CHARACTER array (n-D)
</A>
<LI><A NAME="tex2html1060"
HREF="node118.html">F77_CREATE_LOGICAL_ARRAY_M
- Create a FORTRAN LOGICAL array (n-D)
</A>
<LI><A NAME="tex2html1061"
HREF="node119.html">F77_DOUBLE_TYPE
- Define the type DOUBLE PRECISION
</A>
<LI><A NAME="tex2html1062"
HREF="node120.html">F77_EXPORT_CHARACTER
- Export a C variable to a FORTRAN variable.
</A>
<LI><A NAME="tex2html1063"
HREF="node121.html">F77_EXPORT_CHARACTER_ARRAY
- Export a CHARACTER array from C to FORTRAN
</A>
<LI><A NAME="tex2html1064"
HREF="node122.html">F77_EXPORT_CHARACTER_ARRAY_P
- Export an array of pointers to char from C to a FORTRAN CHARACTER array.
</A>
<LI><A NAME="tex2html1065"
HREF="node123.html">F77_EXTERNAL_NAME
- The external name of a function
</A>
<LI><A NAME="tex2html1066"
HREF="node124.html">F77_FALSE
- The logical value FALSE
</A>
<LI><A NAME="tex2html1067"
HREF="node125.html">F77_IMPORT_CHARACTER
- Import a FORTRAN variable to a C variable.
</A>
<LI><A NAME="tex2html1068"
HREF="node126.html">F77_IMPORT_CHARACTER_ARRAY
- Import a CHARACTER array from FORTRAN to C.
</A>
<LI><A NAME="tex2html1069"
HREF="node127.html">F77_IMPORT_CHARACTER_ARRAY_P
- Import a FORTRAN CHARACTER array to a C array of pointers to char.
</A>
<LI><A NAME="tex2html1070"
HREF="node128.html">F77_INTEGER_TYPE
- Define the type INTEGER
</A>
<LI><A NAME="tex2html1071"
HREF="node129.html">F77_ISFALSE
- Is this the FORTRAN logical value false?
</A>
<LI><A NAME="tex2html1072"
HREF="node130.html">F77_ISTRUE
- Is this the FORTRAN logical value true?
</A>
<LI><A NAME="tex2html1073"
HREF="node131.html">F77_LOGICAL_TYPE
- Define the type LOGICAL
</A>
<LI><A NAME="tex2html1074"
HREF="node132.html">F77_NAMED_COMMON
- Refer to a named common block
</A>
<LI><A NAME="tex2html1075"
HREF="node133.html">F77_POINTER_TYPE
- Define the type POINTER
</A>
<LI><A NAME="tex2html1076"
HREF="node134.html">F77_REAL_TYPE
- Define the type REAL
</A>
<LI><A NAME="tex2html1077"
HREF="node135.html">F77_SUBROUTINE
- Declare a SUBROUTINE
</A>
<LI><A NAME="tex2html1078"
HREF="node136.html">F77_TRUE
- The logical value TRUE
</A>
<LI><A NAME="tex2html1079"
HREF="node137.html">F77_UBYTE_TYPE
- Define the type UBYTE
</A>
<LI><A NAME="tex2html1080"
HREF="node138.html">F77_UWORD_TYPE
- Define the type UWORD
</A>
<LI><A NAME="tex2html1081"
HREF="node139.html">F77_WORD_TYPE
- Define the type WORD
</A>
<LI><A NAME="tex2html1082"
HREF="node140.html">GENPTR_CHARACTER
- Generate a pointer to a CHARACTER argument
</A>
<LI><A NAME="tex2html1083"
HREF="node141.html">GENPTR_CHARACTER_ARRAY
- Generate a pointer to a CHARACTER array argument
</A>
<LI><A NAME="tex2html1084"
HREF="node142.html">GENPTR_SUBROUTINE
- Generate a pointer to a SUBROUTINE argument.
</A>
<LI><A NAME="tex2html1085"
HREF="node143.html">SUBROUTINE
- Declare a SUBROUTINE argument.
</A>
<LI><A NAME="tex2html1086"
HREF="node144.html">SUBROUTINE_ARG
- Pass a SUBROUTINE argument to a FORTRAN routine.
</A>
<LI><A NAME="tex2html1087"
HREF="node145.html">TRAIL
- Declare hidden trailing arguments
</A>
<LI><A NAME="tex2html1088"
HREF="node146.html">TRAIL_ARG
- Pass the length of a CHARACTER argument to a FORTRAN routine
</A>
</UL>
<!--End of Table of Child-Links-->
<BR> <HR>
<A NAME="tex2html1018"
HREF="node78.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
<A NAME="tex2html1016"
HREF="sun209.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A>
<A NAME="tex2html1010"
HREF="node76.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="tex2html1019"
HREF="node78.html">Generic Descriptions</A>
<BR>
<B>Up:</B> <A NAME="tex2html1017"
HREF="sun209.html">CNF and F77 Mixed Language Programming - FORTRAN and C</A>
<BR>
<B> Previous:</B> <A NAME="tex2html1011"
HREF="node76.html">Passing Arguments to a FORTRAN Routine</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>
|