summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION45
1 files changed, 26 insertions, 19 deletions
diff --git a/REFLECTION b/REFLECTION
index 106d247..55930c6 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #64 dio version 0.2.2 ] {
+Extension [ <persistent> extension #64 dio version 0.3.0RC1 ] {
- Constants [36] {
Constant [ int O_RDONLY ] { 0 }
@@ -43,9 +43,9 @@ Extension [ <persistent> extension #64 dio version 0.2.2 ] {
Function [ <internal:dio> function dio_open ] {
- Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $flags ]
- Parameter #2 [ <optional> $mode = <default> ]
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <required> int $flags ]
+ Parameter #2 [ <optional> int $mode = 0 ]
}
}
Function [ <internal:dio> function dio_fdopen ] {
@@ -64,73 +64,80 @@ Extension [ <persistent> extension #64 dio version 0.2.2 ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $offset ]
+ Parameter #1 [ <required> int $offset ]
}
+ - Return [ bool ]
}
Function [ <internal:dio> function dio_stat ] {
- Parameters [1] {
Parameter #0 [ <required> $fd ]
}
+ - Return [ array|false ]
}
Function [ <internal:dio> function dio_seek ] {
- Parameters [3] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $pos ]
- Parameter #2 [ <required> $whence ]
+ Parameter #1 [ <required> int $pos ]
+ Parameter #2 [ <optional> int $whence = SEEK_SET ]
}
+ - Return [ int ]
}
Function [ <internal:dio> function dio_fcntl ] {
- Parameters [3] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $cmd ]
- Parameter #2 [ <optional> $arg = <default> ]
+ Parameter #1 [ <required> int $cmd ]
+ Parameter #2 [ <optional> $arg = NULL ]
}
}
Function [ <internal:dio> function dio_read ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <optional> $n = <default> ]
+ Parameter #1 [ <optional> int $n = 1024 ]
}
+ - Return [ ?string ]
}
Function [ <internal:dio> function dio_write ] {
- Parameters [3] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $data ]
- Parameter #2 [ <optional> $len = <default> ]
+ Parameter #1 [ <required> string $data ]
+ Parameter #2 [ <optional> int $len = 0 ]
}
+ - Return [ int ]
}
Function [ <internal:dio> function dio_close ] {
- Parameters [1] {
Parameter #0 [ <required> $fd ]
}
+ - Return [ void ]
}
Function [ <internal:dio> function dio_tcsetattr ] {
- Parameters [2] {
Parameter #0 [ <required> $fd ]
- Parameter #1 [ <required> $args ]
+ Parameter #1 [ <required> array $args ]
}
+ - Return [ bool ]
}
Function [ <internal:dio> function dio_raw ] {
- Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $mode ]
- Parameter #2 [ <optional> $options = <default> ]
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <required> string $mode ]
+ Parameter #2 [ <optional> ?array $options = NULL ]
}
}
Function [ <internal:dio> function dio_serial ] {
- Parameters [3] {
- Parameter #0 [ <required> $filename ]
- Parameter #1 [ <required> $mode ]
- Parameter #2 [ <optional> $options = <default> ]
+ Parameter #0 [ <required> string $filename ]
+ Parameter #1 [ <required> string $mode ]
+ Parameter #2 [ <optional> ?array $options = NULL ]
}
}
}