From owner-freebsd-hackers Fri Aug 21 02:19:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA06978 for freebsd-hackers-outgoing; Fri, 21 Aug 1998 02:19:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.online.samara.ru (SamaraOnline.customers.samara.net [195.128.128.206]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA06968 for ; Fri, 21 Aug 1998 02:19:44 -0700 (PDT) (envelope-from igor@ns.online.samara.ru) Received: (from igor@localhost) by ns.online.samara.ru (8.8.8/8.8.5) id OAA26841 for freebsd-hackers@freebsd.org; Fri, 21 Aug 1998 14:17:46 GMT To: freebsd-hackers@FreeBSD.ORG Message-ID: Organization: Cronyx Ltd. From: "System Administrator" Date: Fri, 21 Aug 98 14:17:46 +0000 X-Mailer: BML [UNIX Beauty Mail v.1.39] Subject: read timeout Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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