Gautschi serial_hello.c¶ 1 2 3 4 5 6 7 8 9 10 11 12/* C */ #include <stdio.h> #include <unistd.h> int main () { int len=30; char name[30]; gethostname(name,len); /* get run-host name */ printf("Runhost:%s hello, world\n", name); return 0; } Back to the Compiling Serial Programs section Page helpful? Submit your feedback if not. Thanks for your feedback! Thanks for your feedback! Help us improve this page by using our feedback form.