--- a/AbstractOperatingSystem.st Sat Jan 02 17:37:03 2010 +0000
+++ b/AbstractOperatingSystem.st Sat Jan 16 11:26:37 2010 +0000
@@ -2056,32 +2056,6 @@
"Modified: / 13.8.1998 / 21:37:24 / cg"
!
-openFile:pathName withMode:openModeSymbol attributes:attributeSpec
- "open a file, return an os specific fileHandle.
- openmode is a symbol defining the way to open
- valid modes are:
- #read
- #write
- #readWrite
- #appendWrite
- #appendReadWrite
- #createWrite
- #createReadWrite
-
- attributeSpec is an additional argument, currently only used with VMS
- - it allows a file to be created as fixedRecord, variableRecord, streamLF, streamCR, ...
-
- In VMS, if nonNil, it must consist of an array of strings (max:10), giving additional
- attributes (see fopen description).
- Passing a nil specifies the default format (streamLF) - ST/X always invokes this with nil.
- This argument is ignored in UNIX & MSDOS systems.
-
- This is a private entry, but maybe useful to open/create a file in a special mode,
- which is proprietrary to the operatingSystem."
-
- self subclassResponsibility
-!
-
openFileForAppend:pathName
self subclassResponsibility
!
@@ -3395,6 +3369,8 @@
!
getNumberOfProcessors
+ "answer the number of physical processors in the system"
+
self subclassResponsibility
!
@@ -3754,6 +3730,13 @@
^ false
!
+isProcessIdPresent:pid
+ "answer true, if a process with process id pid is present, false if not.
+ Raise an error, if an exception occures"
+
+ ^ self subclassResponsibility
+!
+
isUNIXlike
"return true, if the OS we're running on is a unix like."
@@ -4180,12 +4163,6 @@
!AbstractOperatingSystem class methodsFor:'printing support'!
-getPrinterInfoFor: aPrinterName
- self subclassResponsibility
-
- "Created: / 27-07-2006 / 12:14:18 / fm"
-!
-
getPrinters
"return a collection of PrinterInfos"
@@ -6911,13 +6888,14 @@
!AbstractOperatingSystem class methodsFor:'documentation'!
version
- ^ '$Id: AbstractOperatingSystem.st 10489 2009-12-27 20:16:54Z vranyj1 $'
+ ^ '$Id: AbstractOperatingSystem.st 10494 2010-01-16 11:26:37Z vranyj1 $'
!
version_CVS
- ^ '§Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.191 2009/12/11 10:45:46 cg Exp §'
+ ^ '§Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.193 2010/01/15 14:53:59 stefan Exp §'
! !
AbstractOperatingSystem initialize!
+