lkml.org 
[lkml]   [2003]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: select() stress
I'm using pine.

j

On Tue, 18 Mar 2003, Richard B. Johnson wrote:

> On Tue, 18 Mar 2003, Sparks, Jamie wrote:
>
> > This message uses a character set that is not supported by the Internet
> > Service. To view the original message content, open the attached message.
> > If the text doesn't display correctly, save the attachment to disk, and then
> > open it using a viewer that can display the original character set.
> > <<message.txt>>
> >
>
> Please don't use that goddam M$ mailer. I can't see what you
> wrote without saving to a file, etc. Most use 'pine' or
> something compatible with __text__ !
>
>
> Anyway you advised to do something like:
>
> fd = open("/", O_RDONLY);
> close(fd);
>
> fd is now supposed to contain the largest process fd + 1.
> I don't think this is correct! You can do open thousands
> of fds, ultimately more than the max fd value. It will
> eventually wrap.
>
>
> Cheers,
> Dick Johnson
> Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
> Why is the government concerned about the lunatic fringe? Think about it.
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.077 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site