FFASSIGN(3C) Last changed: 1-6-98
ffassign - Provides library interface to assign processing
int ffassign(char *cmd);
UNICOS, UNICOS/mk, and IRIX systems
This routine is supported on IRIX systems for programs compiled with
the MIPSpro 7 Fortran 90 compiler or compiled with the -craylibs
option to the MIPSpro 7.2 F77 compiler.
ffassign provides an interface to assign processing from C.
When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
UNICOS, UNICOS/mk, or IRIX systems, all arguments must be of default
kind unless documented otherwise. On UNICOS and UNICOS/mk systems,
the default kind is KIND=8 for integer, real, complex, and logical
arguments; on IRIX systems, the default kind is KIND=4.
This routine has one argument:
cmd A string containing a complete assign(1) command in the format
also acceptable to system(3C). The -V option cannot be processed
by the ffassign routine.
Zero is returned on success, and -1 is returned when an error is
detected. errno is set to the error number when an error condition
The following is equivalent to assign -s unblocked f:file:
ret = ffassign("assign -s unblocked f:file");
INTRO_FFIO(3F) [Toc] [Back]
Application Programmer's Library Reference Manual, publication SR2165,
for the printed version of this man page.
[ Back ]