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: }

Defined functions

main defined in line 10; never used
Last modified: 1983-01-06
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1019
Valid CSS Valid XHTML 1.0 Strict