gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Isatty Error (x: ✘3.23.1 ??)


From: Gary E. Miller
Subject: Re: Isatty Error (x: ✘3.23.1 ??)
Date: Tue, 14 Sep 2021 13:58:53 -0700

Yo Fred!

On Tue, 14 Sep 2021 12:59:56 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > And that is not even the proper POSIX.1-2001 description for errno
> > = 6. It should be:
> >
> >    6  ENXIO    /* No such device or address */
> >
> > Easy fix.  Pushed to git head.
> >
> > What OS?  So I can notate why the non-POSIX code.  
> 
> OSX 10.9.

Thanks.  I'll update the comment.

> Most uses of isatty() only care whether it's an open tty device or
> not, with errno being a don't care.

Some of us expect C libary calls to confirm to the standards...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpXgNVljJCsU.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]