summaryrefslogtreecommitdiffstats
path: root/REFLECTION
blob: 106d247ef6b07830e02721d5febd800ece1de465 (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 #64 dio version 0.2.2 ] {

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

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

      - Parameters [3] {
        Parameter #0 [ <required> $filename ]
        Parameter #1 [ <required> $flags ]
        Parameter #2 [ <optional> $mode = <default> ]
      }
    }
    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 = <default> ]
      }
    }
    Function [ <internal:dio> function dio_read ] {

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

      - Parameters [3] {
        Parameter #0 [ <required> $fd ]
        Parameter #1 [ <required> $data ]
        Parameter #2 [ <optional> $len = <default> ]
      }
    }
    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 = <default> ]
      }
    }
    Function [ <internal:dio> function dio_serial ] {

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