0
@@ -28,7 +28,7 @@ System ioDoc(
0
-static void set
env(const char *varName, const char* value, int force)
0
+static void set
EnvironmentVariable(const char *varName, const char* value, int force)
0
@@ -76,10 +76,10 @@ IoObject *IoSystem_proto(void *state)
0
{"shellExecute", IoObject_shellExecute},
0
- {"err
no", IoObject_errnoDescription},
0
+ {"err
orNumber", IoObject_errorNumberDescription},
0
{"exit", IoObject_exit},
0
- {"getenv", IoObject_getenv},
0
- {"setenv", IoObject_setenv},
0
+ {"getEnvironmentVariable", IoObject_getEnvironmentVariable},
0
+ {"setEnvironmentVariable", IoObject_setEnvironmentVariable},
0
{"system", IoObject_system},
0
//{"memorySizeOfState", IoObject_memorySizeOfState},
0
//{"compactState", IoObject_compactState},
0
@@ -120,7 +120,7 @@ IoObject *IoSystem_proto(void *state)
0
-IoObject *IoObject_err
no(IoObject *self, IoObject *locals, IoMessage *m)
0
+IoObject *IoObject_err
orNumber(IoObject *self, IoObject *locals, IoMessage *m)
0
return IONUMBER(errno);
0
@@ -137,10 +137,10 @@ IoObject *IoObject_shellExecute(IoObject *self, IoObject *locals, IoMessage *m)
0
-IoObject *IoObject_err
noDescription(IoObject *self, IoObject *locals, IoMessage *m)
0
+IoObject *IoObject_err
orNumberDescription(IoObject *self, IoObject *locals, IoMessage *m)
0
- docSlot("err
no", "Returns the C errno string.")
0
+ docSlot("err
orNumber", "Returns the C errno string.")
0
return errno ? IOSYMBOL(strerror(errno)) : IONIL(self);
0
@@ -164,12 +164,11 @@ control to the calling program (if any). ")
0
-IoObject *IoObject_get
env(IoObject *self, IoObject *locals, IoMessage *m)
0
+IoObject *IoObject_get
EnvironmentVariable(IoObject *self, IoObject *locals, IoMessage *m)
0
- docSlot("getenv(nameString)",
0
- "Returns a string with the value of the environment
0
-variable whose name is specified by nameString.")
0
+ docSlot("getEnvironmentVariable(nameString)",
0
+ "Returns a string with the value of the environment variable whose name is specified by nameString.")
0
IoSymbol *key = IoMessage_locals_symbolArgAt_(m, locals, 0);
0
@@ -219,10 +218,10 @@ IoObject *IoObject_compactState(IoObject *self, IoObject *locals, IoMessage *m)
0
-IoObject *IoObject_set
env(IoObject *self, IoObject *locals, IoMessage *m)
0
+IoObject *IoObject_set
EnvironmentVariable(IoObject *self, IoObject *locals, IoMessage *m)
0
- docSlot("set
env(keyString, valueString)", "Sets the environment variable keyString to the value valueString.")
0
+ docSlot("set
EnvironmentVariable(keyString, valueString)", "Sets the environment variable keyString to the value valueString.")
0
// setenv() takes different args in different implementations
Comments
No one has commented yet.