forked from enlightenment/efl
Efl.Io.*_Fd (from Efl.Io.*.Fd)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
5697f6e94b
commit
196fdaa48c
|
@ -1,4 +1,4 @@
|
||||||
mixin Efl.Io.Closer.Fd (Efl.Io.Closer, Efl.Object) {
|
mixin Efl.Io.Closer_Fd (Efl.Io.Closer, Efl.Object) {
|
||||||
[[Close fd using close(2).
|
[[Close fd using close(2).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Efl.Io.Closer.Fd, Efl.Io.Sizer.Fd, Efl.Io.Positioner.Fd) {
|
class Efl.Io.File (Efl.Loop.Fd, Efl.File, Efl.Io.Reader_Fd, Efl.Io.Writer_Fd, Efl.Io.Closer_Fd, Efl.Io.Sizer_Fd, Efl.Io.Positioner_Fd) {
|
||||||
[[File access (open, close, read, write, lseek, ftruncate)
|
[[File access (open, close, read, write, lseek, ftruncate)
|
||||||
|
|
||||||
@Efl.Io.Closer.close_on_exec and
|
@Efl.Io.Closer.close_on_exec and
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
mixin Efl.Io.Positioner.Fd (Efl.Io.Positioner) {
|
mixin Efl.Io.Positioner_Fd (Efl.Io.Positioner) {
|
||||||
[[Positions fd using lseek(2).
|
[[Positions fd using lseek(2).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
mixin Efl.Io.Reader.Fd (Efl.Io.Reader) {
|
mixin Efl.Io.Reader_Fd (Efl.Io.Reader) {
|
||||||
[[Reads fd using read(2).
|
[[Reads fd using read(2).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
mixin Efl.Io.Sizer.Fd (Efl.Io.Sizer) {
|
mixin Efl.Io.Sizer_Fd (Efl.Io.Sizer) {
|
||||||
[[Resizes fd usign ftruncate(2).
|
[[Resizes fd usign ftruncate(2).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Efl.Io.Stderr (Efl.Loop.Fd, Efl.Io.Writer.Fd) {
|
class Efl.Io.Stderr (Efl.Loop.Fd, Efl.Io.Writer_Fd) {
|
||||||
[[Application's standard error (stderr).
|
[[Application's standard error (stderr).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Efl.Io.Stdin (Efl.Loop.Fd, Efl.Io.Reader.Fd) {
|
class Efl.Io.Stdin (Efl.Loop.Fd, Efl.Io.Reader_Fd) {
|
||||||
[[Application's standard input (stdin).
|
[[Application's standard input (stdin).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Efl.Io.Stdout (Efl.Loop.Fd, Efl.Io.Writer.Fd) {
|
class Efl.Io.Stdout (Efl.Loop.Fd, Efl.Io.Writer_Fd) {
|
||||||
[[Application's standard output (stdout).
|
[[Application's standard output (stdout).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
mixin Efl.Io.Writer.Fd (Efl.Io.Writer) {
|
mixin Efl.Io.Writer_Fd (Efl.Io.Writer) {
|
||||||
[[Writes fd using write(2).
|
[[Writes fd using write(2).
|
||||||
|
|
||||||
@since 1.19
|
@since 1.19
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Efl.Net.Socket.Fd (Efl.Loop.Fd, Efl.Io.Reader.Fd, Efl.Io.Writer.Fd, Efl.Io.Closer.Fd, Efl.Net.Socket) {
|
class Efl.Net.Socket.Fd (Efl.Loop.Fd, Efl.Io.Reader_Fd, Efl.Io.Writer_Fd, Efl.Io.Closer_Fd, Efl.Net.Socket) {
|
||||||
[[A base implementation for sockets over filedescriptors (fd)
|
[[A base implementation for sockets over filedescriptors (fd)
|
||||||
|
|
||||||
This is the common class and takes an existing FD, usually
|
This is the common class and takes an existing FD, usually
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import eina_types;
|
import eina_types;
|
||||||
|
|
||||||
enum Efl.Io.Positioner.Whence {
|
enum Efl.Io.Positioner_Whence {
|
||||||
[[Seek position modes]]
|
[[Seek position modes]]
|
||||||
start, [[Seek from start of the stream/file]]
|
start, [[Seek from start of the stream/file]]
|
||||||
current, [[Seek from current position]]
|
current, [[Seek from current position]]
|
||||||
|
@ -20,7 +20,7 @@ mixin Efl.Io.Positioner {
|
||||||
[[Seek in data]]
|
[[Seek in data]]
|
||||||
params {
|
params {
|
||||||
@in offset: int64; [[Offset in byte relative to whence]]
|
@in offset: int64; [[Offset in byte relative to whence]]
|
||||||
@in whence: Efl.Io.Positioner.Whence; [[Whence]]
|
@in whence: Efl.Io.Positioner_Whence; [[Whence]]
|
||||||
}
|
}
|
||||||
return: Eina.Error; [[0 on succeed, a mapping of errno otherwise]]
|
return: Eina.Error; [[0 on succeed, a mapping of errno otherwise]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue