projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r1720: *** empty log message ***
[uffi.git]
/
examples
/
gethostname.cl
diff --git
a/examples/gethostname.cl
b/examples/gethostname.cl
index 409afd979aebebcd43c5ce54db76bb124c446667..8d005b312e149139efa332d9900af9a8c686af69 100644
(file)
--- a/
examples/gethostname.cl
+++ b/
examples/gethostname.cl
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
;;;; 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
;;;;
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-43,7
+43,7
@@
(uffi:convert-from-foreign-string name)
(error "gethostname() failed."))))
(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))
(format t "~&Hostname (technique 1): ~A" (gethostname))
(format t "~&Hostname (technique 2): ~A" (gethostname2))