fflag FREAD and/or FWRITE; in the case of a file opened with open(2), fflag corresponds to how the file was opened. See AlsoFieldsvpctx