mirror of
https://github.com/simh/simh.git
synced 2026-02-14 19:57:19 +00:00
SCP: Added sim_set_fsize and sim_set_fsizeo to sim_fio to support specific expanding or truncation of files.
This commit is contained in:
@@ -53,6 +53,8 @@ typedef int32 t_offset;
|
||||
FILE *sim_fopen (const char *file, const char *mode);
|
||||
int sim_fseek (FILE *st, t_addr offset, int whence);
|
||||
int sim_fseeko (FILE *st, t_offset offset, int whence);
|
||||
int sim_set_fsize (FILE *fptr, t_addr size);
|
||||
int sim_set_fsizeo (FILE *fptr, t_offset size);
|
||||
size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr);
|
||||
size_t sim_fwrite (void *bptr, size_t size, size_t count, FILE *fptr);
|
||||
uint32 sim_fsize (FILE *fptr);
|
||||
|
||||
Reference in New Issue
Block a user