C Program to get the system information.
C Program to get the system information. We can use the ‘uname’ function to get the system information, which is defined in the “sys/utsname.h” library.Structure is used to hold information returned by the uname function.“uname” function members and their use:sysname returns the name of the operating system in use.release returns the current release level of …