On Monday 16 June 2003 11:39 am, Eric Jacobs wrote:
> On Mon, 16 Jun 2003 10:11:10 -0700
>
> Joshua Oreman <[EMAIL PROTECTED]> wrote:
> > On Mon, Jun 16, 2003 at 11:44:15AM +0100 or thereabouts, Tony Finch
seemed to write:
> > > Select doesn't work with files.
> >
> > Really? `man 2 select' says n
Joshua Oreman wrote:
> > >I would say, use select(2).
> > >Is there a reason this wouldn't work?
> >
> > Select doesn't work with files.
>
> Really? `man 2 select' says nothing about that. It just talks about
> 'file descriptors'. Now if it said 'socket descriptors' or 'non-file
> file descriptors
On Mon, 16 Jun 2003 10:11:10 -0700
Joshua Oreman <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 16, 2003 at 11:44:15AM +0100 or thereabouts, Tony Finch seemed to write:
> >
> > Select doesn't work with files.
>
> Really? `man 2 select' says nothing about that. It just talks about
> 'file descriptors'.
Select doesn't work with files.
Really? `man 2 select' says nothing about that. It just talks about
'file descriptors'. Now if it said 'socket descriptors' or 'non-file
file descriptors' I would understand, but I don't think that that statement
is implied by the man page. Is there something I'm
On Mon, Jun 16, 2003 at 11:44:15AM +0100 or thereabouts, Tony Finch seemed to write:
> Joshua Oreman <[EMAIL PROTECTED]> 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 -
Tony Finch wrote:
> Joshua Oreman <[EMAIL PROTECTED]> 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 wo
Joshua Oreman <[EMAIL PROTECTED]> 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
Drew Eckhardt wrote:
> In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> ux.org writes:
> >I would say, use select(2).
> >Is there a reason this wouldn't work?
>
> fd_set size...
That's inaccurate. In FreeBSD, select lists are permitted to be
arbitrarily large. See the select code itself for
In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
ux.org writes:
>I would say, use select(2).
>Is there a reason this wouldn't work?
fd_set size...
--
http://www.poohsticks.org/drew/";>Home Page
For those who do, no explanation is necessary.
For those who don't, no explanation is possible.
___
On Sun, Jun 15, 2003 at 09:50:24PM -0400 or thereabouts, Matthew Hagerty seemed to
write:
> > Joshua Oreman 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'. kqueu
> Joshua Oreman 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'. kqueue and kevent are going to
>>>do it for me on *BSD, but I'm also trying to support *cough* linux and
>
Robert Watson <[EMAIL PROTECTED]> 30 lines of wisdom included:
> I was recently told about a library named libevent from Niels Provos,
> which abstracts a variety of underlying event mechanisms behind a common
> API. You can learn a bit more about it here:
>
> http://www.monkey.org/~provos/lib
Matthew Hagerty wrote:
> I'm writing a little application that needs to watch a file that another
> process is writing to, think 'tail -F'. kqueue and kevent are going to do
> it for me on *BSD, but I'm also trying to support *cough* linux and other
> UN*X types OSes.
>
> >From what I can find on
Joshua Oreman 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'. kqueue and kevent are going to
do it for me on *BSD, but I'm also trying to support *cough* linux and
other UN*X types
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'. kqueue and kevent are going to
> do it for me on *BSD, but I'm also trying to support *cough* linux and
> other UN*X types OSes.
>
> >F
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'. kqueue and kevent are going to
> do it for me on *BSD, but I'm also trying to support *cough* linux and
> other UN*X types OSes.
>
>
Greetings,
I'm writing a little application that needs to watch a file that another
process is writing to, think 'tail -F'. kqueue and kevent are going to do
it for me on *BSD, but I'm also trying to support *cough* linux and other
UN*X types OSes.
>From what I can find on google, the linux comm
17 matches
Mail list logo