File size events.

ratheesh k <[email protected]>
Newsgroups org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
I have an application which keep on writing to one file /tmp/rat.txt.
I would like to handle an event when the file size exceed 20kb . How
to get this event ? Is there an event chain , i could register with ?
is there any other easy mechanism ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.