Re: RFC: Using openat()

"Craig Small" <[email protected]> ("csmall") Mon, 23 Jan 2023 20:29:30 +1100
Newsgroups gmane.linux.procps.devel
Message-ID <CALy8Cw7vgw_9VY=L8dF3d6=ADZGR4OWLwQ+azpNetjVx0ydeYQ@mail.gmail.com>
--000000000000ec2f8a05f2eb0936
Content-Type: text/plain; charset="UTF-8"

On Mon, 23 Jan 2023 at 20:25, Jim Warner <[email protected]> wrote:

>      w: Unable to load process information
>
I've started to move from xerrx to xerr so that it reports the errno as
well . I was debugging something, I think it was vmstat and was annoyed
about why some call was failing. The library, or usually some function call
its using sets the correct errno (mostly) so it made sense the program
reported it.

That's the reap function failing.

 - Craig

--000000000000ec2f8a05f2eb0936
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Mon, 23 Jan 2023 at 20:25, Jim Warner =
&lt;<a href=3D"mailto:[email protected]">[email protected]</a=
>&gt; wrote:<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex">=C2=A0 =C2=A0=C2=A0 w: Unable to load process infor=
mation<br></blockquote><div>I&#39;ve started to move from xerrx to xerr so =
that it reports the errno as well . I was debugging something, I think it w=
as vmstat and was annoyed about why some call was failing. The library, or =
usually some function call its using sets the correct errno (mostly) so it =
made sense the program reported it.</div><div><br></div><div>That&#39;s the=
 reap function failing.</div><div><br></div><div>=C2=A0- Craig</div><br></d=
iv></div>

--000000000000ec2f8a05f2eb0936--