summaryrefslogtreecommitdiffstats
path: root/osdep-hpux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-21 20:35:20 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-21 20:35:20 +0000
commit38f169113ef219cdb4dcc36a94a5a53a863a91fd (patch)
treec28ca307cf1710090308d78b23b25ea9cb3c50e4 /osdep-hpux.c
parente34c6fd187360b2427547772f1e9013bcb519b3d (diff)
Support for HP-UX.
Diffstat (limited to 'osdep-hpux.c')
-rw-r--r--osdep-hpux.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/osdep-hpux.c b/osdep-hpux.c
new file mode 100644
index 00000000..ecbbd380
--- /dev/null
+++ b/osdep-hpux.c
@@ -0,0 +1,35 @@
+/* $Id: osdep-hpux.c,v 1.1 2011-01-21 20:35:20 nicm Exp $ */
+
+/*
+ * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
+ * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
+ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include <sys/types.h>
+
+#include <event.h>
+
+#include "tmux.h"
+
+char *
+osdep_get_name(unused int fd, unused char *tty)
+{
+ return (NULL);
+}
+
+struct event_base *
+osdep_event_init(void)
+{
+ return (event_init());
+}