FFASSIGN(3C)FFASSIGN(3C)


NAME
     ffassign - Provides library interface to assign processing

SYNOPSIS
     #include <ffio.h>

     int ffassign(char *cmd);

DESCRIPTION
     This routine is supported for programs compiled with the MIPSpro 7
     Fortran 90 compiler or compiled with the -craylibs option to the
     MIPSpro F77 compiler.

     ffassign provides an interface to assign processing from C.

     All arguments must be of default kind unless documented otherwise.  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.

RETURN VALUES
     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
     occurs.

EXAMPLES
     The following is equivalent to assign -s unblocked f:file:

          ret = ffassign("assign -s unblocked f:file");

SEE ALSO
     assign(1)

     INTRO_FFIO(3F)