Re: lsb_release interface

2024-11-12 Thread Greg Wooledge
On Tue, Nov 12, 2024 at 11:24:59 +0100, to...@tuxteam.de wrote: > On Tue, Nov 12, 2024 at 10:08:18AM +, Corey wrote: > > Hello > > > > Do you know in C language what's the better way to get the info like the > > output by lsb_release? > > > > $ lsb_release -cd > > Description:Ubuntu

Re: lsb_release interface

2024-11-12 Thread tomas
On Tue, Nov 12, 2024 at 10:08:18AM +, Corey wrote: > Hello > > Do you know in C language what's the better way to get the info like the > output by lsb_release? > > $ lsb_release -cd > Description: Ubuntu 22.04.3 LTS > Codename: jammy > > > i know there is system call. but is there a