Extension [ extension #64 dio version 0.3.0RC1 ] { - 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 [ function dio_open ] { - Parameters [3] { Parameter #0 [ string $filename ] Parameter #1 [ int $flags ] Parameter #2 [ int $mode = 0 ] } } Function [ function dio_fdopen ] { - Parameters [1] { Parameter #0 [ $fd ] } } Function [ function dio_dup ] { - Parameters [1] { Parameter #0 [ $fd ] } } Function [ function dio_truncate ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ int $offset ] } - Return [ bool ] } Function [ function dio_stat ] { - Parameters [1] { Parameter #0 [ $fd ] } - Return [ array|false ] } Function [ function dio_seek ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ int $pos ] Parameter #2 [ int $whence = SEEK_SET ] } - Return [ int ] } Function [ function dio_fcntl ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ int $cmd ] Parameter #2 [ $arg = NULL ] } } Function [ function dio_read ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ int $n = 1024 ] } - Return [ ?string ] } Function [ function dio_write ] { - Parameters [3] { Parameter #0 [ $fd ] Parameter #1 [ string $data ] Parameter #2 [ int $len = 0 ] } - Return [ int ] } Function [ function dio_close ] { - Parameters [1] { Parameter #0 [ $fd ] } - Return [ void ] } Function [ function dio_tcsetattr ] { - Parameters [2] { Parameter #0 [ $fd ] Parameter #1 [ array $args ] } - Return [ bool ] } Function [ function dio_raw ] { - Parameters [3] { Parameter #0 [ string $filename ] Parameter #1 [ string $mode ] Parameter #2 [ ?array $options = NULL ] } } Function [ function dio_serial ] { - Parameters [3] { Parameter #0 [ string $filename ] Parameter #1 [ string $mode ] Parameter #2 [ ?array $options = NULL ] } } } }