[vala] linux.vapi: bind sethostname(2) exposing both parameters



commit b336077398bf43fb76615fffb2ce36f2cc50e0bb
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date:   Mon May 10 08:56:07 2010 +0200

    linux.vapi: bind sethostname(2) exposing both parameters

 vapi/linux.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 6871a20..8833c81 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -713,7 +713,7 @@ namespace Linux {
     public void backtrace_symbols_fd (void* buffer, int size, int fd);
 
     [CCode (cheader_filename = "unistd.h")]
-    public int sethostname (char[] name);
+    public int sethostname (string name, size_t len);
 
     [CCode (cheader_filename = "arpa/inet.h")]
     public int inet_aton (string cp, out Posix.InAddr addr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]