Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

PXFFDOPEN

ArturGuzik
Valued Contributor I
565 Views
Dear All,

I'm guessing that Fortran POSIX routines names and their functionality match the original system routines. I'm trying to get popen() functionality, and fork, pipe, execv (used in popen) are all there. However, I'm not sure about PXFFDOPEN routine. In the call to fdopen() one has to specify the type of access (mode) ("r", "w" etc.). The Help says that 4 keyword/value pairs are valid in IVF. Which one should I use to get the same effect as giving fdopen() with "w" attribute? Status "unknown" should be given?

A.

PS. I upgraded some time ago to VS2005. Where the character variables coloring disappeared? This is nothing terribly important, however, after 10 years I'm pretty much accustomed to see that kind of variables in different color. I'm sure it was still available in VS2003.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
565 Views

None of the supported keywords of PXFFDOPEN correspond to access mode. You probably want PXFOPEN instead. See the POSIX Fortran standard for details, though the Intel documentation is pretty much the same.

The coloring of strings does not appear to be VS-version dependent, from what I can see. The Fortran IDE integration is apparently not causing strings to be colored with what is set for "Strings" in the VS configuration. I have reported this to the developers.

0 Kudos
Reply