summaryrefslogtreecommitdiff
path: root/hostid.c
blob: 854bb939f691f1f7ed199a4934fc4753dbcea309 (plain)
1
2
3
4
5
6
7
8
9
10
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE_EXTENDED 1
#include <stdio.h>
#include <unistd.h>

int main(void)
{
	printf("%08lx\n", gethostid());
	return 0;
}