r1595: Updated C test functions
[uffi.git] / examples / gethostname.cl
index dc318225ecf76090cd885b2b310b1a7fb208b596..e90e7dadfae9d2ea52e5b66867c735b8592f5119 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: gethostname.cl,v 1.5 2002/03/14 21:03:12 kevin Exp $
+;;;; $Id: gethostname.cl,v 1.6 2002/03/19 16:42:59 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -22,7 +22,7 @@
 ;;; This example is inspired by the example on the CL-Cookbook web site
 
 (uffi:def-function ("gethostname" c-gethostname) 
-    ((name :cstring)
+    ((name (* :unsigned-char))
      (len :int))
   :returning :int)