mescc: Mes C Library: Add ioctl3 stub.

This commit is contained in:
Jan Nieuwenhuizen 2019-12-11 10:41:41 -05:00
parent f5bf3f4cf6
commit c673c9d303
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 11 additions and 0 deletions

View File

@ -32,3 +32,14 @@ ioctl (int filedes, unsigned long command, ...)
errno = 0;
return 0;
}
int
ioctl3 (int filedes, unsigned long command, long data)
{
static int stub = 0;
if (__mes_debug () && !stub)
eputs ("ioctl3 stub\n");
stub = 1;
errno = 0;
return 0;
}