W3cubDocs

/GNU Fortran 10

7.3.4 _gfortran_set_record_marker — Set length of record markers

Description:

_gfortran_set_record_marker sets the length of record markers for unformatted files.

Syntax:

void _gfortran_set_record_marker (int val)

Arguments:
val Length of the record marker; valid values are 4 and 8. Default is 4.
Example:
int main (int argc, char *argv[])
{
  /* Initialize libgfortran.  */
  _gfortran_set_args (argc, argv);
  _gfortran_set_record_marker (8);
  return 0;
}

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/_005fgfortran_005fset_005frecord_005fmarker.html