[vala] posix: add gethostname(2)



commit f9d9d9d018e9760b1740de85f7be24ee6a20886b
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date:   Fri May 7 11:08:18 2010 +0200

    posix: add gethostname(2)

 vapi/posix.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 968bd8f..d014c06 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -1628,6 +1628,8 @@ namespace Posix {
 	[CCode (cheader_filename = "unistd.h")]
 	public int dup2 (int fd1, int fd2);
 	[CCode (cheader_filename = "unistd.h")]
+	public int gethostname (char[] name);
+	[CCode (cheader_filename = "unistd.h")]
 	public pid_t getpid ();
 	[CCode (cheader_filename = "unistd.h")]
 	public pid_t getppid ();



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