(C) 1998 AROS - The Amiga Research OS
NAME
#include <proto/dos.h>
LONG FWrite (fh , block , blocklen , number)
LOCATION
In DOSBase at offset 55
SYNOPSIS
BPTR fh
APTR block
ULONG blocklen
ULONG number
FUNCTION
Write a number of blocks to a file.
INPUTS
fh
Write to this file
block
The data begins here
blocklen
This is the size of a single block
number
The number of blocks
RESULT
The number of blocks written to the file or EOF on error. IoErr() gives additional information in case of an error.
EXAMPLE
SEE ALSO
Open(), FRead(), FPutc(), Close()
NOTES
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
27.01.1997 ldp
Polish
25.11.1996 aros
Two new functions