*BSD News Article 27581


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!sdd.hp.com!apollo.hp.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mycroft
From: mycroft@duality.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD] read/write error to non-blocking ptys
Date: 18 Feb 1994 00:30:43 GMT
Organization: MIT Artificial Intelligence Lab
Lines: 17
Distribution: world
Message-ID: <MYCROFT.94Feb17193043@duality.gnu.ai.mit.edu>
References: <2jobdu$la@nigel.msen.com>
NNTP-Posting-Host: duality.gnu.ai.mit.edu
In-reply-to: jbell@max.cybernet.com's message of 14 Feb 1994 17:12:30 GMT


In article <2jobdu$la@nigel.msen.com> jbell@max.cybernet.com (J. Shan
Bell) writes:

	   Can anyone confirm this problem and/or suggest a work
   around?  While either reading from or writing to file descriptors
   that belong to non-blocking ptys I get "Resource temporarily
   unavailable" (errno == EAGAIN).

You're actually getting EWOULDBLOCK.  Under Net/2-derived systems, it
is the same value as EAGAIN.

--
- Charles Hannum
  NetBSD group
  Working ports: i386, hp300, amiga, sparc, mac68k, pc532.
  In progress: pmax, sun3.