8000 fcntl: Implement fcntl/ioctl variants which take memory buffer as arg. · micropython/micropython-lib@ec4217b · GitHub
[go: up one dir, main page]

Skip to content

Commit ec4217b

Browse files
author
Paul Sokolovsky
committed
fcntl: Implement fcntl/ioctl variants which take memory buffer as arg.
1 parent 4dbb10e commit ec4217b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fcntl/fcntl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ def fcntl(fd, op, arg):
1414
if type(arg) is int:
1515
return fcntl_l(fd, op, arg)
1616
else:
17-
raise NotImplementedError
17+
return fcntl_s(fd, op, arg)
1818

1919

2020
def ioctl(fd, op, arg):
2121
if type(arg) is int:
2222
return ioctl_l(fd, op, arg)
2323
else:
24-
raise NotImplementedError
24+
return ioctl_s(fd, op, arg)

0 commit comments

Comments
 (0)
0