# PXFFFLUSH

POSIX Subroutine: Flushes a file directly to disk.

## Module

USE IFPOSIX

CALL PXFFFLUSH (lunit,ierror)

lunit | (Input) INTEGER(4). A Fortran logical unit.
ierror | (Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

The PXFFFLUSH subroutine writes any buffered output to the file connected to unit lunit.

Parent topic: POSIX* Library Routines