sqInt getAttributeIntoLength(sqInt indexNumber, sqInt byteArrayIndex, sqInt length)
Parms:
indexNumber, a negative or positive number, or zero
byteArrayIndex a pointer to squeak memory, use pointerForOop(byteArrayIndex) to convert
length an agreed upon length for the storage area.
return: char*, or sucess(0) to fail primitive.
From: Interpreter
Why:
Returns char* to an empty string or magic value strings. which might be arguments to the VM at startup.
Works in conjunction with attributeSize which calls it to get data and use that for sizing.
Do NOT return NULL
ON unix systems for numbers < 0 it returns the arguments passed to the program via the cmd line
On unix systems for numbers > 2 it returns the
number