Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 1998 10:48:48 -0500 (EST)
From:      Alfred Perlstein <bright@www.hotjobs.com>
To:        System Administrator <igor@ns.online.samara.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: read timeout
Message-ID:  <Pine.BSF.3.96.980821104824.305L-100000@bright.fx.genx.net>
In-Reply-To: <AAA6OtrODQ@ns.online.samara.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
man select
man poll

yes it's quite possible ;)

Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/                        3.0-current

On Fri, 21 Aug 1998, System Administrator wrote:

> i read from tty:
>         fd = open(/dev/cuaa0, O_RDWR)
>         n = read(fd, &c, 1)
> may I set timeout in which read wait data ?
> if no data read must return 0
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980821104824.305L-100000>