pty: put a stopper in windows & osdmini versions of OSD as they don't

support PTYs
This commit is contained in:
fulivi 2015-10-14 11:44:56 +02:00
parent d2d30ee26c
commit ba6f6fc127
3 changed files with 21 additions and 0 deletions

View File

@ -101,6 +101,14 @@ file_error osd_write(osd_file *file, const void *buffer, UINT64 offset, UINT32 l
return FILERR_NONE;
}
//============================================================
// osd_openpty
//============================================================
file_error osd_openpty(osd_file **file, char *name, size_t name_len)
{
return FILERR_FAILURE;
}
//============================================================
// osd_truncate

View File

@ -32,3 +32,8 @@ 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;
}

View File

@ -235,6 +235,14 @@ file_error osd_write(osd_file *file, const void *buffer, UINT64 offset, UINT32 l
return FILERR_NONE;
}
//============================================================
// osd_openpty
//============================================================
file_error osd_openpty(osd_file **file, char *name, size_t name_len)
{
return FILERR_FAILURE;
}
//============================================================
// osd_truncate