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:
[FALIGNERR]
[FNOTFLD]
Finit().
[FEUNIX]
write system call failed. The external integer errno should have been set to indicate the error by the system call, and the external integer Uunixerr (values defined in Uunix.h) is set to the system call that returned the error.
This function is not supported using the BEA TUXEDO system /WS DLL for OS/2 and Microsoft Windows.
Fintro(3), stdio(3S) in UNIX System reference manuals, Findex(3), Fread(3)