Fwrite, Fwrite32 - write fielded buffer
#include <stdio.h> #include "fml.h" int Fwrite(FBFR *fbfr, FILE *iop) #include "fml32.h" int Fwrite32(FBFR32 *fbfr, FILE *iop)
Fielded buffers may be written to streams by Fwrite(). (See stdio(3S) in a UNIX System reference manual for a discussion of streams). Fwrite() discards a buffer's index.
fbfr is a pointer to a fielded buffer. iop is a pointer of type FILE to the output stream.
Fwrite32 is used with 32-bit FML.
This function returns -1 on error and sets Ferror to indicate the error condition.
Under the following conditions, Fwrite() fails and sets Ferror to:
This function is not supported using the TUXEDO System /WS DLL for OS/2 and Microsoft Windows.
Fintro(3fml),
stdio(3S) in UNIX System reference manuals,
Findex(3fml),
Fread(3fml)