;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: gethostname.cl,v 1.9 2002/03/23 16:32:39 kevin Exp $
+;;;; $Id: gethostname.cl,v 1.10 2002/04/02 21:29:45 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(uffi:convert-from-foreign-string name)
(error "gethostname() failed."))))
-#+test-uffi
+#+examples-uffi
(format t "~&Hostname (technique 1): ~A" (gethostname))
(format t "~&Hostname (technique 2): ~A" (gethostname2))