From: ratheesh k <ratheesh.ksz@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: File size events.
Date: Mon, 13 Sep 2010 19:41:29 +0530 [thread overview]
Message-ID: <AANLkTin9vEu5ouV6Qopk7U_zG8=Z_gwHebZsZxxUzjXh@mail.gmail.com> (raw)
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 ?
next reply other threads:[~2010-09-13 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-13 14:11 ratheesh k [this message]
2010-09-13 17:52 ` File size events Holger Kiehl
-- strict thread matches above, loose matches on Subject: below --
2010-09-17 3:29 Ardhan Madras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTin9vEu5ouV6Qopk7U_zG8=Z_gwHebZsZxxUzjXh@mail.gmail.com' \
--to=ratheesh.ksz@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).