/usr/share/doc/libcnf-dev/html/sun209.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 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 | <!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>CNF and F77 Mixed Language Programming - FORTRAN and C</TITLE>
<META NAME="description" CONTENT="CNF and F77 Mixed Language Programming - FORTRAN and C">
<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="node1.html">
</HEAD>
<BODY >
<BR> <HR>
<A NAME="tex2html10"
HREF="node1.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif_gr.gif">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif_gr.gif"> <A HREF="sun209.html#stardoccontents"><IMG
ALIGN="BOTTOM" BORDER="0" SRC="contents_motif.gif"
ALT="252"></A>
<BR>
<B> Next:</B> <A NAME="tex2html11"
HREF="node1.html">Abstract</A>
<BR>
<BR> <HR> <P>
<!--End of Navigation Panel-->
<P>
<A NAME="xref_"></A>
<H1 ALIGN=CENTER>
CNF and F77 <BR>
<BR>
Mixed Language Programming - FORTRAN and C
<BR>
Version 4.0
<BR>
Programmer's Manual
</H1> <HR>
<P>
<P> <I>
Starlink User Note 209.6
<BR>
P.M. Allan
<BR>
A.J. Chipperfield
<BR>
R.F. Warren-Smith
<BR>
19 January 2000
</I> </P> <H3>
<A NAME="tex2html1"
HREF="http://www.cclrc.ac.uk">CCLRC</A>
/
<A NAME="tex2html2"
HREF="http://www.cclrc.ac.uk/ral">Rutherford Appleton Laboratory</A>
<BR>
<A NAME="tex2html3"
HREF="http://www.pparc.ac.uk">Particle Physics & Astronomy Research Council</A>
<BR>
</H3> <H2>
<A NAME="tex2html4"
HREF="http://www.starlink.rl.ac.uk/">Starlink Project</A>
</H2>
<A NAME="tex2html5"
HREF="http://www.starlink.rl.ac.uk/cgi-bin/hcserver?sun209.6"><IMG
ALIGN="BOTTOM" BORDER="0" SRC="source.gif"
ALT="249"> Retrieve hardcopy</A>
<BR>
<P>
<A NAME="stardoccontents"></A>
<HR>
<H2>Contents</H2>
<P>
<BR> <HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"></A>
<UL>
<LI><A NAME="tex2html12"
HREF="node1.html">Abstract</A>
<LI><A NAME="tex2html13"
HREF="node2.html">How to read this document</A>
<LI><A NAME="tex2html14"
HREF="node3.html">Cookbook</A>
<UL>
<LI><A NAME="tex2html15"
HREF="node4.html">Calling C from FORTRAN</A>
<LI><A NAME="tex2html16"
HREF="node5.html">Calling FORTRAN from C</A>
<LI><A NAME="tex2html17"
HREF="node6.html">Building the Program</A>
</UL>
<LI><A NAME="tex2html18"
HREF="node7.html">Representation of Data</A>
<UL>
<LI><A NAME="tex2html19"
HREF="node8.html">Numeric Types</A>
<LI><A NAME="tex2html20"
HREF="node9.html">Characters</A>
<LI><A NAME="tex2html21"
HREF="node10.html">Logical Types</A>
<LI><A NAME="tex2html22"
HREF="node11.html">Pointer Types</A>
<LI><A NAME="tex2html23"
HREF="node12.html">Arrays</A>
<LI><A NAME="tex2html24"
HREF="node13.html">Same Language - Different Compiler</A>
</UL>
<LI><A NAME="tex2html25"
HREF="node14.html">Communication Between Routines</A>
<UL>
<LI><A NAME="tex2html26"
HREF="node15.html">Arguments</A>
<LI><A NAME="tex2html27"
HREF="node16.html">Function Values</A>
<LI><A NAME="tex2html28"
HREF="node17.html">Global Data</A>
</UL>
<LI><A NAME="tex2html29"
HREF="node18.html">More on
Calling C from FORTRAN</A>
<UL>
<LI><A NAME="tex2html30"
HREF="node19.html">General Description</A>
<LI><A NAME="tex2html31"
HREF="node20.html">Declaration of a Function</A>
<LI><A NAME="tex2html32"
HREF="node21.html">Declaration of Arguments</A>
<LI><A NAME="tex2html33"
HREF="node22.html">Arguments - and Pointers to Them</A>
<LI><A NAME="tex2html34"
HREF="node23.html">Type Specifiers</A>
<LI><A NAME="tex2html35"
HREF="node24.html">Logical Values</A>
<LI><A NAME="tex2html36"
HREF="node25.html">External Names</A>
<LI><A NAME="tex2html37"
HREF="node26.html">Common Blocks</A>
</UL>
<LI><A NAME="tex2html38"
HREF="node27.html">Converting Between FORTRAN and C Strings</A>
<UL>
<LI><A NAME="tex2html39"
HREF="node28.html">The CNF Functions</A>
<LI><A NAME="tex2html40"
HREF="node29.html">Handling Byte Strings (HDS Locators)</A>
<LI><A NAME="tex2html41"
HREF="node30.html">Using Dynamic FORTRAN Character Strings</A>
</UL>
<LI><A NAME="tex2html42"
HREF="node31.html">Pointers</A>
<UL>
<LI><A NAME="tex2html43"
HREF="node32.html">Pointer
Registration and Conversion</A>
<LI><A NAME="tex2html44"
HREF="node33.html">Allocating
Exportable Dynamic Memory</A>
<LI><A NAME="tex2html45"
HREF="node34.html">Accessing
Dynamic Memory from C and FORTRAN</A>
<LI><A NAME="tex2html46"
HREF="node35.html">Registering Your Own
Pointers</A>
</UL>
<LI><A NAME="tex2html47"
HREF="node36.html">More on
Calling FORTRAN from C</A>
<LI><A NAME="tex2html48"
HREF="node37.html">More on Arrays</A>
<UL>
<LI><A NAME="tex2html49"
HREF="node38.html">CHARACTER and LOGICAL Arrays</A>
<LI><A NAME="tex2html50"
HREF="node39.html">Arrays of <TT>pointer to char</TT></A>
<LI><A NAME="tex2html51"
HREF="node40.html">POINTER Arrays</A>
</UL>
<LI><A NAME="tex2html52"
HREF="node41.html">The IMPORT and EXPORT Macros</A>
<LI><A NAME="tex2html53"
HREF="node42.html">Subroutines and Functions as Arguments</A>
<LI><A NAME="tex2html54"
HREF="node43.html">Other Approaches to Mixed Language Programming</A>
<LI><A NAME="tex2html55"
HREF="node44.html">Compiling and Linking</A>
<LI><A NAME="tex2html56"
HREF="node45.html">Implementation Specific Details</A>
<UL>
<LI><A NAME="tex2html57"
HREF="node46.html">Sun</A>
<UL>
<LI><A NAME="tex2html58"
HREF="node47.html">General</A>
<LI><A NAME="tex2html59"
HREF="node48.html">Data Types</A>
<LI><A NAME="tex2html60"
HREF="node49.html">External Names</A>
<LI><A NAME="tex2html61"
HREF="node50.html">Arguments</A>
<LI><A NAME="tex2html62"
HREF="node51.html">Function Values</A>
<LI><A NAME="tex2html63"
HREF="node52.html">Global Data</A>
</UL>
<LI><A NAME="tex2html64"
HREF="node53.html">DEC Unix</A>
<UL>
<LI><A NAME="tex2html65"
HREF="node54.html">General</A>
<LI><A NAME="tex2html66"
HREF="node55.html">LOGICAL Values</A>
<LI><A NAME="tex2html67"
HREF="node56.html">POINTERS on Alphas</A>
</UL>
<LI><A NAME="tex2html68"
HREF="node57.html">VAX/VMS</A>
<UL>
<LI><A NAME="tex2html69"
HREF="node58.html">General</A>
<LI><A NAME="tex2html70"
HREF="node59.html">Data Types</A>
<LI><A NAME="tex2html71"
HREF="node60.html">Arguments</A>
<LI><A NAME="tex2html72"
HREF="node61.html">Function Values</A>
<LI><A NAME="tex2html73"
HREF="node62.html">Global Data</A>
</UL>
<LI><A NAME="tex2html74"
HREF="node63.html">Other Operating Systems</A>
</UL>
<LI><A NAME="tex2html75"
HREF="node64.html">Rationale for Mixed Language Programming</A>
<LI><A NAME="tex2html76"
HREF="node65.html">Alphabetical List of F77 Macros</A>
<LI><A NAME="tex2html77"
HREF="node66.html">Classified List of F77 Macros</A>
<UL>
<LI><A NAME="tex2html78"
HREF="node67.html">Declaration of a C Function</A>
<LI><A NAME="tex2html79"
HREF="node68.html">Arguments of a C Function</A>
<LI><A NAME="tex2html80"
HREF="node69.html">Generate Pointers to Arguments</A>
<LI><A NAME="tex2html81"
HREF="node70.html">Data Type Macros</A>
<LI><A NAME="tex2html82"
HREF="node71.html">Logical Value Macros</A>
<LI><A NAME="tex2html83"
HREF="node72.html">External Name Macro</A>
<LI><A NAME="tex2html84"
HREF="node73.html">Common Block Macros</A>
<LI><A NAME="tex2html85"
HREF="node74.html">Declaring Variables for Passing to a FORTRAN Routine</A>
<LI><A NAME="tex2html86"
HREF="node75.html">Importing and Exporting Arguments</A>
<LI><A NAME="tex2html87"
HREF="node76.html">Passing Arguments to a FORTRAN Routine</A>
</UL>
<LI><A NAME="tex2html88"
HREF="node77.html">Full Description of F77 Macros</A>
<UL>
<LI><A NAME="tex2html89"
HREF="node78.html">Generic Descriptions</A>
<LI><A NAME="tex2html90"
HREF="node79.html">DECLARE_<I>type</I>
- Declare a FORTRAN variable
</A>
<LI><A NAME="tex2html91"
HREF="node80.html">DECLARE_<I>type</I>_ARRAY
- Declare a FORTRAN array
</A>
<LI><A NAME="tex2html92"
HREF="node81.html">DECLARE_<I>type</I>_ARRAY_DYN
- Declare a dynamic <I>type</I> array
</A>
<LI><A NAME="tex2html93"
HREF="node82.html">F77_ASSOC_<I>type</I>_ARRAY
- Associate a FORTRAN array with a C array.
</A>
<LI><A NAME="tex2html94"
HREF="node83.html">F77_CREATE_<I>type</I>_ARRAY
- Create an array of <I>type</I>.
</A>
<LI><A NAME="tex2html95"
HREF="node84.html">F77_EXPORT_<I>type</I>
- Export a C variable to a FORTRAN variable.
</A>
<LI><A NAME="tex2html96"
HREF="node85.html">F77_EXPORT_<I>type</I>_ARRAY
- Export an array of <I>type</I> from C
to FORTRAN
</A>
<LI><A NAME="tex2html97"
HREF="node86.html">F77_FREE_<I>type</I>
- Free a dynamic variable of <I>type</I>
</A>
<LI><A NAME="tex2html98"
HREF="node87.html">F77_IMPORT_<I>type</I>
- Import a FORTRAN variable to a C variable.
</A>
<LI><A NAME="tex2html99"
HREF="node88.html">F77_IMPORT_<I>type</I>_ARRAY
- Import an array of <I>type</I> from FORTRAN
to C
</A>
<LI><A NAME="tex2html100"
HREF="node89.html">F77_<I>type</I>_FUNCTION
- Declare a FORTRAN function
</A>
<LI><A NAME="tex2html101"
HREF="node90.html">GENPTR_<I>type</I>
- Generate a pointer to an argument
</A>
<LI><A NAME="tex2html102"
HREF="node91.html">GENPTR_<I>type</I>_ARRAY
- Generate a pointer to an array argument
</A>
<LI><A NAME="tex2html103"
HREF="node92.html">GENPTR_<I>type</I>_FUNCTION
- Generate a pointer to a FUNCTION argument
</A>
<LI><A NAME="tex2html104"
HREF="node93.html"><I>type</I>
- Declare a <I>type</I> argument
</A>
<LI><A NAME="tex2html105"
HREF="node94.html"><I>type</I>_ARG
- Pass a <I>type</I> argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html106"
HREF="node95.html"><I>type</I>_ARRAY
- Declare a array argument
</A>
<LI><A NAME="tex2html107"
HREF="node96.html"><I>type</I>_ARRAY_ARG
- Pass an array argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html108"
HREF="node97.html"><I>type</I>_FUNCTION
- Declare a FUNCTION argument
</A>
<LI><A NAME="tex2html109"
HREF="node98.html"><I>type</I>_FUNCTION_ARG
- Pass a FUNCTION argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html110"
HREF="node99.html">Specific Descriptions</A>
<LI><A NAME="tex2html111"
HREF="node100.html">CHARACTER
- Declare a CHARACTER argument
</A>
<LI><A NAME="tex2html112"
HREF="node101.html">CHARACTER_ARG
- Pass a CHARACTER argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html113"
HREF="node102.html">CHARACTER_ARRAY
- Declare a CHARACTER array argument
</A>
<LI><A NAME="tex2html114"
HREF="node103.html">CHARACTER_ARRAY_ARG
- Pass a CHARACTER array argument to a FORTRAN routine
</A>
<LI><A NAME="tex2html115"
HREF="node104.html">CHARACTER_RETURN_ARG
- Pass argument(s) that will be the return value of a FORTRAN CHARACTER
FUNCTION
</A>
<LI><A NAME="tex2html116"
HREF="node105.html">CHARACTER_RETURN_VALUE
- Declare argument(s) that will be the return value of a FORTRAN CHARACTER
FUNCTION
</A>
<LI><A NAME="tex2html117"
HREF="node106.html">DECLARE_CHARACTER
- Declare a CHARACTER variable
</A>
<LI><A NAME="tex2html118"
HREF="node107.html">DECLARE_CHARACTER_ARRAY
- Declare a CHARACTER array
</A>
<LI><A NAME="tex2html119"
HREF="node108.html">DECLARE_CHARACTER_DYN
- Declare a CHARACTER variable
</A>
<LI><A NAME="tex2html120"
HREF="node109.html">F77_BLANK_COMMON
- Refer to blank common
</A>
<LI><A NAME="tex2html121"
HREF="node110.html">F77_BYTE_TYPE
- Define the type BYTE
</A>
<LI><A NAME="tex2html122"
HREF="node111.html">F77_CALL
- Call a FORTRAN routine from C
</A>
<LI><A NAME="tex2html123"
HREF="node112.html">F77_CHARACTER_ARG_TYPE
- Define the type of a FORTRAN CHARACTER argument
</A>
<LI><A NAME="tex2html124"
HREF="node113.html">F77_CHARACTER_ARRAY_ARG_TYPE
- Define the type of a FORTRAN CHARACTER array argument
</A>
<LI><A NAME="tex2html125"
HREF="node114.html">F77_CHARACTER_TYPE
- Define the type CHARACTER
</A>
<LI><A NAME="tex2html126"
HREF="node115.html">F77_CREATE_CHARACTER
- Create a FORTRAN CHARACTER variable
</A>
<LI><A NAME="tex2html127"
HREF="node116.html">F77_CREATE_CHARACTER_ARRAY
- Create a FORTRAN CHARACTER array
</A>
<LI><A NAME="tex2html128"
HREF="node117.html">F77_CREATE_CHARACTER_ARRAY_M
- Create a FORTRAN CHARACTER array (n-D)
</A>
<LI><A NAME="tex2html129"
HREF="node118.html">F77_CREATE_LOGICAL_ARRAY_M
- Create a FORTRAN LOGICAL array (n-D)
</A>
<LI><A NAME="tex2html130"
HREF="node119.html">F77_DOUBLE_TYPE
- Define the type DOUBLE PRECISION
</A>
<LI><A NAME="tex2html131"
HREF="node120.html">F77_EXPORT_CHARACTER
- Export a C variable to a FORTRAN variable.
</A>
<LI><A NAME="tex2html132"
HREF="node121.html">F77_EXPORT_CHARACTER_ARRAY
- Export a CHARACTER array from C to FORTRAN
</A>
<LI><A NAME="tex2html133"
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="tex2html134"
HREF="node123.html">F77_EXTERNAL_NAME
- The external name of a function
</A>
<LI><A NAME="tex2html135"
HREF="node124.html">F77_FALSE
- The logical value FALSE
</A>
<LI><A NAME="tex2html136"
HREF="node125.html">F77_IMPORT_CHARACTER
- Import a FORTRAN variable to a C variable.
</A>
<LI><A NAME="tex2html137"
HREF="node126.html">F77_IMPORT_CHARACTER_ARRAY
- Import a CHARACTER array from FORTRAN to C.
</A>
<LI><A NAME="tex2html138"
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="tex2html139"
HREF="node128.html">F77_INTEGER_TYPE
- Define the type INTEGER
</A>
<LI><A NAME="tex2html140"
HREF="node129.html">F77_ISFALSE
- Is this the FORTRAN logical value false?
</A>
<LI><A NAME="tex2html141"
HREF="node130.html">F77_ISTRUE
- Is this the FORTRAN logical value true?
</A>
<LI><A NAME="tex2html142"
HREF="node131.html">F77_LOGICAL_TYPE
- Define the type LOGICAL
</A>
<LI><A NAME="tex2html143"
HREF="node132.html">F77_NAMED_COMMON
- Refer to a named common block
</A>
<LI><A NAME="tex2html144"
HREF="node133.html">F77_POINTER_TYPE
- Define the type POINTER
</A>
<LI><A NAME="tex2html145"
HREF="node134.html">F77_REAL_TYPE
- Define the type REAL
</A>
<LI><A NAME="tex2html146"
HREF="node135.html">F77_SUBROUTINE
- Declare a SUBROUTINE
</A>
<LI><A NAME="tex2html147"
HREF="node136.html">F77_TRUE
- The logical value TRUE
</A>
<LI><A NAME="tex2html148"
HREF="node137.html">F77_UBYTE_TYPE
- Define the type UBYTE
</A>
<LI><A NAME="tex2html149"
HREF="node138.html">F77_UWORD_TYPE
- Define the type UWORD
</A>
<LI><A NAME="tex2html150"
HREF="node139.html">F77_WORD_TYPE
- Define the type WORD
</A>
<LI><A NAME="tex2html151"
HREF="node140.html">GENPTR_CHARACTER
- Generate a pointer to a CHARACTER argument
</A>
<LI><A NAME="tex2html152"
HREF="node141.html">GENPTR_CHARACTER_ARRAY
- Generate a pointer to a CHARACTER array argument
</A>
<LI><A NAME="tex2html153"
HREF="node142.html">GENPTR_SUBROUTINE
- Generate a pointer to a SUBROUTINE argument.
</A>
<LI><A NAME="tex2html154"
HREF="node143.html">SUBROUTINE
- Declare a SUBROUTINE argument.
</A>
<LI><A NAME="tex2html155"
HREF="node144.html">SUBROUTINE_ARG
- Pass a SUBROUTINE argument to a FORTRAN routine.
</A>
<LI><A NAME="tex2html156"
HREF="node145.html">TRAIL
- Declare hidden trailing arguments
</A>
<LI><A NAME="tex2html157"
HREF="node146.html">TRAIL_ARG
- Pass the length of a CHARACTER argument to a FORTRAN routine
</A>
</UL>
<LI><A NAME="tex2html158"
HREF="node147.html">Classified List of CNF Functions</A>
<UL>
<LI><A NAME="tex2html159"
HREF="node148.html">Import a FORTRAN String to C</A>
<LI><A NAME="tex2html160"
HREF="node149.html">Export a C String to FORTRAN</A>
<LI><A NAME="tex2html161"
HREF="node150.html">String Lengths</A>
<LI><A NAME="tex2html162"
HREF="node151.html">Miscellaneous String Handling</A>
<LI><A NAME="tex2html163"
HREF="node152.html">LOGICAL Array Handling</A>
<LI><A NAME="tex2html164"
HREF="node153.html">Memory and Pointer Handling</A>
</UL>
<LI><A NAME="tex2html165"
HREF="node154.html">CNF C Routine Descriptions</A>
<UL>
<LI><A NAME="tex2html166"
HREF="node155.html">cnfCalloc
- Allocate space that may be accessed from C and FORTRAN
</A>
<LI><A NAME="tex2html167"
HREF="node156.html">cnfCopyf
- Copy one FORTRAN string to another FORTRAN string
</A>
<LI><A NAME="tex2html168"
HREF="node157.html">cnfCptr
- Convert a FORTRAN pointer to a C pointer
</A>
<LI><A NAME="tex2html169"
HREF="node158.html">cnfCreat
- Create a temporary C string and return a pointer to it
</A>
<LI><A NAME="tex2html170"
HREF="node159.html">cnfCref
- Create a temporary FORTRAN CHARACTER string and return a pointer to it.
</A>
<LI><A NAME="tex2html171"
HREF="node160.html">cnfCrefa
- Create a temporary FORTRAN CHARACTER array and return a pointer to it.
</A>
<LI><A NAME="tex2html172"
HREF="node161.html">cnfCreib
- Create a temporary C string and import a FORTRAN string into it
including trailing blanks
</A>
<LI><A NAME="tex2html173"
HREF="node162.html">cnfCreim
- Create a temporary C string and import a FORTRAN string into it
discarding trailing blanks
</A>
<LI><A NAME="tex2html174"
HREF="node163.html">cnfCrela
- Create a temporary FORTRAN LOGICAL array and return a pointer to it.
</A>
<LI><A NAME="tex2html175"
HREF="node164.html">cnfExpch
- Export a C array of char to a FORTRAN string.
</A>
<LI><A NAME="tex2html176"
HREF="node165.html">cnfExpla
- Export a C int array to a FORTRAN LOGICAL array
</A>
<LI><A NAME="tex2html177"
HREF="node166.html">cnfExpn
- Export a C string to a FORTRAN string, copying a given maximum
number of characters
</A>
<LI><A NAME="tex2html178"
HREF="node167.html">cnfExprt
- Export a C string to a FORTRAN string
</A>
<LI><A NAME="tex2html179"
HREF="node168.html">cnfExprta
- Export a C string array to a FORTRAN CHARACTER array
</A>
<LI><A NAME="tex2html180"
HREF="node169.html">cnfExprtap
- Export a C array of pointers to char, to a FORTRAN CHARACTER array
</A>
<LI><A NAME="tex2html181"
HREF="node170.html">cnfFptr
- Convert a C pointer to a FORTRAN pointer
</A>
<LI><A NAME="tex2html182"
HREF="node171.html">cnfFree
- Free allocated space
</A>
<LI><A NAME="tex2html183"
HREF="node172.html">cnfFreef
- Free a FORTRAN string
</A>
<LI><A NAME="tex2html184"
HREF="node173.html">cnfImpb
- Import a FORTRAN string into a C string, retaining trailing blanks
</A>
<LI><A NAME="tex2html185"
HREF="node174.html">cnfImpbn
- Import no more than max characters from a FORTRAN string into a C
string, retaining trailing blanks
</A>
<LI><A NAME="tex2html186"
HREF="node175.html">cnfImpch
- Import a FORTRAN string into a C array of char.
</A>
<LI><A NAME="tex2html187"
HREF="node176.html">cnfImpla
- Import a FORTRAN LOGICAL array into a C int array
</A>
<LI><A NAME="tex2html188"
HREF="node177.html">cnfImpn
- Import no more than max characters from a FORTRAN string into a C
string
</A>
<LI><A NAME="tex2html189"
HREF="node178.html">cnfImprt
- Import a FORTRAN string into a C string
</A>
<LI><A NAME="tex2html190"
HREF="node179.html">cnfImprta
- Import a FORTRAN CHARACTER array into a C string array.
</A>
<LI><A NAME="tex2html191"
HREF="node180.html">cnfImprtap
- Import a FORTRAN CHARACTER array into a C array of pointers to char.
</A>
<LI><A NAME="tex2html192"
HREF="node181.html">cnfLenc
- Find the length of a C string
</A>
<LI><A NAME="tex2html193"
HREF="node182.html">cnfLenf
- Find the length of a FORTRAN string
</A>
<LI><A NAME="tex2html194"
HREF="node183.html">cnfMalloc
- Allocate space that may be accessed from C and FORTRAN
</A>
<LI><A NAME="tex2html195"
HREF="node184.html">cnfRegp
- Register a pointer for use from both C and FORTRAN
</A>
<LI><A NAME="tex2html196"
HREF="node185.html">cnfUregp
- Unregister a pointer previously registered using
<TT>cnfRegp</TT>
</A>
</UL>
<LI><A NAME="tex2html197"
HREF="node186.html">CNF FORTRAN Function Description</A>
<UL>
<LI><A NAME="tex2html198"
HREF="node187.html">CNF_PVAL
- Expand a FORTRAN pointer to its full value
</A>
</UL>
<LI><A NAME="tex2html199"
HREF="node188.html">References</A>
<LI><A NAME="tex2html200"
HREF="node189.html">Bibliography</A>
<LI><A NAME="tex2html201"
HREF="node190.html">About this document ...</A>
</UL>
<!--End of Table of Child-Links-->
<BR> <HR>
<A NAME="tex2html10"
HREF="node1.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif_gr.gif">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif_gr.gif"> <A HREF="sun209.html#stardoccontents"><IMG
ALIGN="BOTTOM" BORDER="0" SRC="contents_motif.gif"
ALT="252"></A>
<BR>
<B> Next:</B> <A NAME="tex2html11"
HREF="node1.html">Abstract</A>
<BR>
<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>
|