Christoph Honal
2785ab16ae
Some checks reported errors
continuous-integration/drone/push Build was killed
14 lines
261 B
C++
14 lines
261 B
C++
#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;
|
|
} |