;;;;
;;;; Copyright (c) 2002 Kevin M. Rosenberg
;;;;
-;;;; $Id: getenv.cl,v 1.5 2002/03/10 11:13:07 kevin Exp $
+;;;; $Id: getenv.cl,v 1.6 2002/03/10 17:42:35 kevin Exp $
;;;;
;;;; This file is part of UFFI.
;;;;
"Returns an environment variable, or NIL if it does not exist"
(check-type key string)
(uffi:with-cstring (key-native key)
- (let ((value-cstring (c-getenv key-native)))
- (uffi:convert-from-cstring value-cstring))))
+ (uffi:convert-from-cstring (c-getenv key-native))))
#+test-uffi
(progn