Szerző: aitor Dátum: Címzett: dng Tárgy: Re: [DNG] issue with procps, any hints?
Hi Didier,
On 20/12/22 15:15, Didier Kryn wrote: >
> |Maybe I didn't understand the whole question, |
> The key is that the aforementioned integer might not represent the tty, but the
major and minor number that need to be splitted, as someone suggested to me.
> |but what about readlink("/proc/self/fd/0", ...) ?|
>
> | I would always prefer seeking directly /proc than adding a
> library dependency to do it.|
> |I'll take this idea into consideration, thanks. Anyway, the dependency
on libprocps-dev still remains there for other stuff.|