ffassign
- Date:
03-16-2012
NAME
ffassign - Provides library interface to assign processing
SYNOPSIS
#include <ffio.h>
int ffassign(char *cmd);
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
The ffassign routine provides an interface to assign processing from C.
When using the Cray Fortran compiler, all arguments must be of default kind unless documented otherwise. On Cray systems, the default kind is KIND=4 for integer, real, complex, and logical arguments.
This routine accepts one argument:
- cmd
Specifies 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)