GLib.FileStream – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
FileStream
EOF
fdopen
open
clearerr
eof
error
fileno
flush
getc
gets
printf
putc
puts
read
read_line
rewind
scanf
seek
tell
ungetc
vprintf
write
FileStream
Object Hierarchy:
Description:
[
Compact
]
public
class
FileStream
Namespace:
GLib
Package:
glib-2.0
Content:
Constants:
public
const
int
EOF
Static methods:
public
static
FileStream
?
open
(
string
path,
string
mode)
public
static
FileStream
?
fdopen
(
int
fildes,
string
mode)
Methods:
public
void
printf
(
string
format, ...)
public
void
vprintf
(
string
format,
va_list
args)
public
void
putc
(
char
c)
public
void
puts
(
string
s)
public
int
getc
()
public
int
ungetc
(
int
c)
public
unowned
string
?
gets
(
char
[] s)
public
bool
eof
()
public
int
scanf
(
string
format, ...)
public
int
flush
()
public
int
seek
(
long
offset,
FileSeek
whence)
public
long
tell
()
public
void
rewind
()
public
int
fileno
()
public
int
error
()
public
void
clearerr
()
public
size_t
read
(
uint8
[] buf,
size_t
size =
1
)
public
size_t
write
(
uint8
[] buf,
size_t
size =
1
)
public
string
?
read_line
()