ffassign(3C)

ffassign - Provides library interface to assign processing

As shipped in IRIX 6.5.7. Last changed in IRIX 6.5.5.

NAME
     ffassign - Provides library interface to assign processing

SYNOPSIS
     #include <ffio.h>

     int ffassign(char *cmd);

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

DESCRIPTION
     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 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.

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)

     Application Programmer's Library Reference Manual for the printed
     version of this man page.