2014-11-08 13:27:43 +01:00
|
|
|
/* $OpenBSD$ */
|
2009-01-20 20:35:03 +01:00
|
|
|
|
|
|
|
/*
|
2016-01-19 19:07:25 +01:00
|
|
|
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
|
2009-01-20 20:35:03 +01:00
|
|
|
*
|
|
|
|
* 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>
|
|
|
|
|
2010-12-30 21:41:08 +01:00
|
|
|
#include <event.h>
|
|
|
|
|
2009-01-20 20:35:03 +01:00
|
|
|
#include "tmux.h"
|
|
|
|
|
|
|
|
char *
|
2015-11-18 17:45:44 +01:00
|
|
|
osdep_get_name(__unused int fd, __unused char *tty)
|
2009-01-20 20:35:03 +01:00
|
|
|
{
|
|
|
|
return (NULL);
|
|
|
|
}
|
2010-12-30 21:41:08 +01:00
|
|
|
|
2011-12-09 17:37:29 +01:00
|
|
|
char *
|
2012-09-24 15:05:38 +02:00
|
|
|
osdep_get_cwd(int fd)
|
2011-12-09 17:37:29 +01:00
|
|
|
{
|
|
|
|
return (NULL);
|
|
|
|
}
|
|
|
|
|
2010-12-30 21:41:08 +01:00
|
|
|
struct event_base *
|
|
|
|
osdep_event_init(void)
|
|
|
|
{
|
|
|
|
return (event_init());
|
|
|
|
}
|