|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module containing stubs for API generation of the def 'uos' module. |
|
8 """ |
|
9 |
|
10 def uname(): |
|
11 pass |
|
12 |
|
13 def urandom(n): |
|
14 pass |
|
15 |
|
16 def chdir(path): |
|
17 pass |
|
18 |
|
19 def getcwd(): |
|
20 pass |
|
21 |
|
22 def ilistdir(dir="."): |
|
23 pass |
|
24 |
|
25 def listdir(dir="."): |
|
26 pass |
|
27 |
|
28 def mkdir(path): |
|
29 pass |
|
30 |
|
31 def remove(path): |
|
32 pass |
|
33 |
|
34 def rmdir(path): |
|
35 pass |
|
36 |
|
37 def rename(old_path, new_path): |
|
38 pass |
|
39 |
|
40 def stat(path): |
|
41 pass |
|
42 |
|
43 def statvfs(path): |
|
44 pass |
|
45 |
|
46 def sync(): |
|
47 pass |
|
48 |
|
49 def dupterm(stream_object, index=0): |
|
50 pass |
|
51 |
|
52 def mount(fsobj, mount_point, *, readonly): |
|
53 pass |
|
54 |
|
55 def umount(mount_point): |
|
56 pass |
|
57 |
|
58 class VfsFat(): |
|
59 def __init__(self, block_dev): |
|
60 pass |
|
61 |
|
62 @staticmethod |
|
63 def mkfs(block_dev): |
|
64 pass |
|
65 |
|
66 class AbstractBlockDev(): |
|
67 def __init__(self): |
|
68 pass |
|
69 |
|
70 def readblocks(self, block_num, buf): |
|
71 pass |
|
72 |
|
73 def writeblocks(self, block_num, buf): |
|
74 pass |
|
75 |
|
76 def ioctl(self, op, arg): |
|
77 pass |