mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
OSX 10.15 file offset methods
This commit is contained in:
parent
4b3315111b
commit
fe5efb6aa2
4 changed files with 113 additions and 32 deletions
|
@ -100,6 +100,12 @@ GS_EXPORT_CLASS
|
|||
- (void) truncateFileAtOffset: (unsigned long long)pos;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
|
||||
- (BOOL) getOffset: (out unsigned long long *)offsetInFile
|
||||
error: (out NSError **)error;
|
||||
- (BOOL) seekToEndReturningOffset: (out unsigned long long *)offsetInFile
|
||||
error: (out NSError **)error;
|
||||
- (BOOL) seekToOffset: (unsigned long long)offset
|
||||
error: (out NSError **)error;
|
||||
- (BOOL) truncateAtOffset: (unsigned long long)offset
|
||||
error: (out NSError **)error;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue