|
|
1.1 root 1: # include <stdio.h>
2: # include <sysexits.h>
3:
4: /*
5: ** UNAME -- print UNIX system name (fake version)
6: **
7: ** For UNIX 3.0 compatiblity.
8: */
9:
10: main(argc, argv)
11: int argc;
12: char **argv;
13: {
14: char buf[40];
15:
16: gethostname(buf, sizeof buf);
17: printf("%s\n", buf);
18: exit(EX_OK);
19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.