fcntl: Implement fcntl/ioctl variants which take memory buffer as arg.

pull/17/head
Paul Sokolovsky 2014-12-23 00:55:43 +02:00
rodzic 4dbb10e39d
commit ec4217b8fa
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -14,11 +14,11 @@ def fcntl(fd, op, arg):
if type(arg) is int:
return fcntl_l(fd, op, arg)
else:
raise NotImplementedError
return fcntl_s(fd, op, arg)
def ioctl(fd, op, arg):
if type(arg) is int:
return ioctl_l(fd, op, arg)
else:
raise NotImplementedError
return ioctl_s(fd, op, arg)