|
Class: OSFileHandle
Object
|
+--ExternalAddress
|
+--OSHandle
|
+--OSFileHandle
|
+--UnixFileDescriptorHandle
|
+--UnixFileHandle
|
+--UnixOperatingSystem::FilePointerHandle
- Package:
- stx:libbasic
- Category:
- System-Support
- Version:
- rev:
1.9
date: 2019/03/12 21:05:00
- user: cg
- file: OSFileHandle.st directory: libbasic
- module: stx stc-classLibrary: libbasic
initialization
-
initialize
-
initialize for the OS we are running on
usage example(s):
-
initializeConcreteClass
-
initialize for the OS we are running on
usage example(s):
self initializeConcreteClass
|
-
reinitialize
-
initialize for the OS we are running on
usage example(s):
finalization
-
finalize
-
a filedescriptor was garbage collected - close the underlying file
input/output
-
readBytes: count into: aByteBuffer startingAt: startAddress
-
read count bytes into a byte-buffer;
Return the number of bytes read (negative on error)
** This method raises an error - it must be redefined in concrete classes **
-
writeBytes: count from: aByteBuffer startingAt: startAddress
-
write count bytes from a byte-buffer;
Return the number of bytes written (negative on error)
** This method raises an error - it must be redefined in concrete classes **
release
-
close
-
close the file
-
closeFile
-
close the underlying file
** This method raises an error - it must be redefined in concrete classes **
|