summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/sdlptty_os2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/sdlptty_os2.cpp')
-rw-r--r--src/osd/sdl/sdlptty_os2.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/osd/sdl/sdlptty_os2.cpp b/src/osd/sdl/sdlptty_os2.cpp
new file mode 100644
index 00000000000..6c31caf897f
--- /dev/null
+++ b/src/osd/sdl/sdlptty_os2.cpp
@@ -0,0 +1,39 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert, R. Belmont
+//============================================================
+//
+// sdlptty_os2 - SDL psuedo tty access functions
+// (OS/2 has no pttys - maybe named pipes?)
+//
+// SDLMAME by Olivier Galibert and R. Belmont
+//
+//============================================================
+
+#include "sdlfile.h"
+
+const char *sdlfile_ptty_identifier = "";
+
+file_error sdl_open_ptty(const char *path, UINT32 openflags, osd_file **file, UINT64 *filesize)
+{
+ return FILERR_ACCESS_DENIED;
+}
+
+file_error sdl_read_ptty(osd_file *file, void *buffer, UINT64 offset, UINT32 count, UINT32 *actual)
+{
+ return FILERR_ACCESS_DENIED;
+}
+
+file_error sdl_write_ptty(osd_file *file, const void *buffer, UINT64 offset, UINT32 count, UINT32 *actual)
+{
+ return FILERR_ACCESS_DENIED;
+}
+
+file_error sdl_close_ptty(osd_file *file)
+{
+ return FILERR_ACCESS_DENIED;
+}
+
+file_error sdl_slave_name_ptty(osd_file *file)
+{
+ return FILERR_ACCESS_DENIED;
+}