# HG changeset patch # User Claus Gittinger # Date 1461931145 -7200 # Node ID fdf7f3ecf889a8ce79dded434b4c4347c1412fc1 # Parent 22486296505c97b340c22fd3e09f218b293a5bbd #DOCUMENTATION by cg class: UnixOperatingSystem comment/format in:6 methods diff -r 22486296505c -r fdf7f3ecf889 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 !