*BSD News Article 19216


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!menudo.uh.edu!uuneo!sugar!peter
From: peter@NeoSoft.com (Peter da Silva)
Subject: Re: sio - problem with login hanging up
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Thu, 5 Aug 1993 22:43:09 GMT
Message-ID: <CBB5ry.8IJ@sugar.NeoSoft.COM>
References: <23gj3fINNj7s@kralizec.zeta.org.au> <CB4sAz.MMI@sugar.NeoSoft.COM> <23oj6eINNht0@kralizec.zeta.org.au>
Lines: 11

In article <23oj6eINNht0@kralizec.zeta.org.au> bde@kralizec.zeta.org.au (Bruce Evans) writes:
> things should be done: open in O_NONBLOCK mode (CLOCAL doesn't matter
> and can't be known or set before the open), then (usually) turn off
> O_NONBLOCK and set CLOCAL as desired.

Yes. Setting CLOCAL first in case you get a hangup when O_NONBLOCK goes away.
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Hefur thu fadhmadh ulfinn i dag?
  'U`    
"Det er min ledsager, det er ikke drikkepenge."