hello-ci/main.cpp

14 lines
261 B
C++
Raw Normal View History

2020-02-14 11:22:09 +00:00
#include <iostream>
#include <sys/utsname.h>
using namespace std;
struct utsname unameData;
int main()
{
cout << "Hello from binary!" << endl;
uname(&unameData);
printf("Running on %s, %s\n", unameData.sysname, unameData.machine);
return 0;
2020-02-14 08:50:27 +00:00
}