Re: [Vala] Reading last n lines from file
- From: Reid Thompson <jreidthompson nc rr com>
- To: vala-list gnome org
- Subject: Re: [Vala] Reading last n lines from file
- Date: Fri, 09 Oct 2015 11:13:04 -0000
On Wed, 2015-10-07 at 10:16 -0400, Serge Hooge wrote:
Hello, folks.
I am currently writing a small program with Vala/ncurses and I have
suddenly found the need to read last n lines of a constantly changing
file for display in an ncurses window.
What would be the easiest way to go about it in Vala?
It doesn't look like GIO is an option without a giant data stream
kludge, but I kind of need it to create and delete some files along the
way.
Cheers,
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
maybe... implement an equivalent to http://stackoverflow.com/questions/17877025/
reading-last-n-lines-from-file-in-c-c
based on
http://references.valadoc.org/#!api=glib-2.0/GLib.FileStream.seek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]