Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2003 11:44:15 +0100
From:      Tony Finch <dot@dotat.at>
To:        oremanj@www.get-linux.org
Cc:        hackers@freebsd.org
Subject:   Re: kqueue alternative?
Message-ID:  <E19RrTD-0006yV-00@chiark.greenend.org.uk>
In-Reply-To: <20030615172902.GB4882@webserver.get-linux.org>
References:  <1079.10.0.81.10.1055692530.squirrel@www.mundomateo.com> <Pine.NEB.3.96L.1030615125423.98988D-100000@fledge.watson.org> <Pine.NEB.3.96L.1030615125423.98988D-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joshua Oreman <oremanj@webserver.get-linux.org> wrote:
>On Sun, 15 Jun 2003, Matthew Hagerty wrote:
>>
>> I'm writing a little application that needs to watch a file that another
>> process is writing to, think 'tail -F'.
>
>I would say, use select(2).
>Is there a reason this wouldn't work?

Select doesn't work with files.

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
ST DAVIDS HEAD TO COLWYN BAY, INCLUDING ST GEORGES CHANNEL: VARIABLE 2 OR 3
BECOMING MAINLY SOUTHWEST TO WEST 2 OR 3, LOCALLY 3 OR 4. FAIR WITH ISOLATED
SHOWERS AND SOME COASTAL MIST PATCHES. GOOD LOCALLY MODERATE OR POOR. SLIGHT.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19RrTD-0006yV-00>