(C) 1998 AROS - The Amiga Research OS
NAME
#include <proto/dos.h>
LONG SetFileSize (file , offset , mode)
LOCATION
In DOSBase at offset 76
SYNOPSIS
BPTR file
LONG offset
LONG mode
FUNCTION
Change the size of a file.
INPUTS
file
filehandle
offset
relative size
mode
OFFSET_BEGINNING, OFFSET_CURRENT or OFFSET_END
RESULT
New size of the file or -1 in case of an error. IoErr() gives additional information in that case.
EXAMPLE
SEE ALSO
NOTES
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
19.05.1998 srittau
IFS_SEEK API
06.12.1997 srittau
Do not use IOFileSys->io_Args
Small changes and bugfixes
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions
Moved #include's into first column
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
11.09.1996 digulla
A couple of new DOS functions from M. Fleischer