return -1 on failure, so it matches the man page and setenv
4.4BSD snapshot (revision 8.1); add 1993 to copyright
Adjustments and bug fixes after adding prototypes to include files.
putenv shouldn't modify the user's string, it might be read-only
cleanup includes
date and time created 89/02/14 20:32:54 by bostic