#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Fri, 29 Apr 2016 13:59:05 +0200
changeset 19675 fdf7f3ecf889
parent 19674 22486296505c
child 19676 b36aeb07c1e7
#DOCUMENTATION by cg class: UnixOperatingSystem comment/format in:6 methods
UnixOperatingSystem.st
--- a/UnixOperatingSystem.st	Fri Apr 29 13:58:04 2016 +0200
+++ b/UnixOperatingSystem.st	Fri Apr 29 13:59:05 2016 +0200
@@ -3785,11 +3785,13 @@
 !
 
 createFileForReadWrite:pathName
+    "open a file for reading and writing, return an os specific fileHandle."
 
     ^ self open:pathName attributes:#(O_RDWR O_CREAT O_TRUNC) mode:nil
 !
 
 createFileForWrite:pathName
+    "create a file for writing, return an os specific fileHandle."
 
     ^ self open:pathName attributes:#(O_WRONLY O_CREAT O_TRUNC) mode:nil
 !
@@ -3990,12 +3992,14 @@
 !
 
 openFileForAppend:pathName
+    "open a file for appending, return an os specific fileHandle."
 
     ^ self open:pathName attributes:#(O_RDWR O_APPEND) mode:nil
 !
 
 openFileForRead:pathName
-
+    "open a file for reading, return an os specific fileHandle."
+    
     ^ self open:pathName attributes:#(O_RDONLY) mode:nil
 !
 
@@ -4005,11 +4009,13 @@
 !
 
 openFileForReadWrite:pathName
+    "open a file for reading and writing, return an os specific fileHandle."
 
     ^ self open:pathName attributes:#(O_RDWR)  mode:nil
 !
 
 openFileForWrite:pathName
+    "open a file for writing, return an os specific fileHandle."
 
     ^ self open:pathName attributes:#(O_WRONLY)  mode:nil
 !