GooMooPunch
Programmer
I'm quite new to the C language, and i'm sure this is a simple question...
I'm trying to create a prompt that includes the output from the command uname(), but I'm having trouble displaying it properly.
My question is how do I capture the output of the uname() command so I can include it in a printf line?
I'm trying to create a prompt that includes the output from the command uname(), but I'm having trouble displaying it properly.
My question is how do I capture the output of the uname() command so I can include it in a printf line?