summaryrefslogtreecommitdiffstats
path: root/REFLECTION
blob: 9420c91fa71b9b84e2dca8b5a10c2dc7e96252f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
Extension [ <persistent> extension #80 dio version 0.0.7 ] {

  - Constants [36] {
    Constant [ integer O_RDONLY ] { 0 }
    Constant [ integer O_WRONLY ] { 1 }
    Constant [ integer O_RDWR ] { 2 }
    Constant [ integer O_CREAT ] { 64 }
    Constant [ integer O_EXCL ] { 128 }
    Constant [ integer O_TRUNC ] { 512 }
    Constant [ integer O_APPEND ] { 1024 }
    Constant [ integer O_NONBLOCK ] { 2048 }
    Constant [ integer O_NDELAY ] { 2048 }
    Constant [ integer O_SYNC ] { 1052672 }
    Constant [ integer O_ASYNC ] { 8192 }
    Constant [ integer O_NOCTTY ] { 256 }
    Constant [ integer S_IRWXU ] { 448 }
    Constant [ integer S_IRUSR ] { 256 }
    Constant [ integer S_IWUSR ] { 128 }
    Constant [ integer S_IXUSR ] { 64 }
    Constant [ integer S_IRWXG ] { 56 }
    Constant [ integer S_IRGRP ] { 32 }
    Constant [ integer S_IWGRP ] { 16 }
    Constant [ integer S_IXGRP ] { 8 }
    Constant [ integer S_IRWXO ] { 7 }
    Constant [ integer S_IROTH ] { 4 }
    Constant [ integer S_IWOTH ] { 2 }
    Constant [ integer S_IXOTH ] { 1 }
    Constant [ integer F_DUPFD ] { 0 }
    Constant [ integer F_GETFD ] { 1 }
    Constant [ integer F_GETFL ] { 3 }
    Constant [ integer F_SETFL ] { 4 }
    Constant [ integer F_GETLK ] { 5 }
    Constant [ integer F_SETLK ] { 6 }
    Constant [ integer F_SETLKW ] { 7 }
    Constant [ integer F_SETOWN ] { 8 }
    Constant [ integer F_GETOWN ] { 9 }
    Constant [ integer F_UNLCK ] { 2 }
    Constant [ integer F_RDLCK ] { 0 }
    Constant [ integer F_WRLCK ] { 1 }
  }

  - Functions {
    Function [ <internal:dio> function dio_open ] {

      - Parameters [3] {
        Parameter #0 [ <required> $filename ]
        Parameter #1 [ <required> $flags ]
        Parameter #2 [ <optional> $mode ]
      }
    }
    Function [ <internal:dio> function dio_fdopen ] {

      - Parameters [1] {
        Parameter #0 [ <required> $fd ]
      }
    }
    Function [ <internal:dio> function dio_dup ] {

      - Parameters [1] {
        Parameter #0 [ <required> $fd ]
      }
    }
    Function [ <internal:dio> function dio_truncate ] {

      - Parameters [2] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <required> $offset ]
      }
    }
    Function [ <internal:dio> function dio_stat ] {

      - Parameters [1] {
        Parameter #0 [ <required> $fd ]
      }
    }
    Function [ <internal:dio> function dio_seek ] {

      - Parameters [3] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <required> $pos ]
        Parameter #2 [ <required> $whence ]
      }
    }
    Function [ <internal:dio> function dio_fcntl ] {

      - Parameters [3] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <required> $cmd ]
        Parameter #2 [ <optional> $arg ]
      }
    }
    Function [ <internal:dio> function dio_read ] {

      - Parameters [2] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <optional> $n ]
      }
    }
    Function [ <internal:dio> function dio_write ] {

      - Parameters [3] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <required> $data ]
        Parameter #2 [ <optional> $len ]
      }
    }
    Function [ <internal:dio> function dio_close ] {

      - Parameters [1] {
        Parameter #0 [ <required> $fd ]
      }
    }
    Function [ <internal:dio> function dio_tcsetattr ] {

      - Parameters [2] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <required> $args ]
      }
    }
    Function [ <internal:dio> function dio_raw ] {

      - Parameters [3] {
        Parameter #0 [ <required> $filename ]
        Parameter #1 [ <required> $mode ]
        Parameter #2 [ <optional> $options ]
      }
    }
    Function [ <internal:dio> function dio_serial ] {

      - Parameters [3] {
        Parameter #0 [ <required> $filename ]
        Parameter #1 [ <required> $mode ]
        Parameter #2 [ <optional> $options ]
      }
    }
  }
}