mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-05-04 23:16:14 +00:00
pdp10-stdio: add pdp10_ftello(), include <sys/types.h> for off_t
This commit is contained in:
@@ -332,6 +332,11 @@ int pdp10_fseeko(PDP10_FILE *pdp10fp, off_t offset, int whence)
|
||||
return 0;
|
||||
}
|
||||
|
||||
off_t pdp10_ftello(PDP10_FILE *pdp10fp)
|
||||
{
|
||||
return pdp10fp->nonet_pos;
|
||||
}
|
||||
|
||||
/*
|
||||
* On an octet-based host, in-core data structures representing nonet-based
|
||||
* target data will in fact contain oversize octet-based host data. For
|
||||
|
||||
Reference in New Issue
Block a user