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

lsb_release interface



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 native way?

Thanks.


Reply to: