Skip to content

Instantly share code, notes, and snippets.

@adililhan
Created February 17, 2021 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adililhan/a9e7a932195cb991b9849ad0df889286 to your computer and use it in GitHub Desktop.
Save adililhan/a9e7a932195cb991b9849ad0df889286 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <sys/utsname.h>
void main() {
puts("What's up?");
struct utsname unameData;
uname(&unameData);
printf("%s \n", unameData.sysname);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment