File: hosttest.cc

package info (click to toggle)
wvstreams 4.6.1-5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 6,972 kB
  • sloc: cpp: 64,200; ansic: 4,154; sh: 4,094; makefile: 545; perl: 402
file content (16 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Worldvisions Weaver Software:
 *   Copyright (C) 1997-2003 Net Integration Technologies, Inc.
 * 
 * Test for the 
 *
 */
#include "strutils.h"
#include <stdio.h>

int main()
{
    printf("Hostname: %s\n", hostname().cstr());
    printf("Fully Qualified Host Name: %s\n", fqdomainname().cstr());
    return 0;
}