Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ SWM_ENVIRON ] shel_write( 8, mode, len, buffer, 0L ); <mode> is the operation mode: 0 = return value is length of current environment string. 1 = add, modify, or delete environment variable in <buffer>. ("PATH=" will delete variable PATH) 2 = copy <len> bytes from the environment string into <buffer>. Return value is number of bytes left. <len> = max size of buffer (<mode> = 2 only). <buffer> is a NULL terminated string (<mode> = 1), or returns the environment string (<mode> = 2). Function modifies or copies the environment string. Note: Implemented starting with AES Version 4.00 See also shel_envrn().