X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=blobdiff_plain;f=sources%2Fmygetaddr.c;h=d3eb9d8e4912bccac0e6cb6477e99a653490bfbc;hb=31f55ec58bee8b2c4993633849b7da4e30cab222;hp=b33f9c29db379154602a29a6896fdec5578ad326;hpb=5a12d423b85ac5decb966bc3c3a797b3ad9a7a3f;p=gapil.git diff --git a/sources/mygetaddr.c b/sources/mygetaddr.c index b33f9c2..d3eb9d8 100644 --- a/sources/mygetaddr.c +++ b/sources/mygetaddr.c @@ -22,25 +22,23 @@ * * Author: S. Piccardi Nov. 2004 * - * $Id$ - * *****************************************************************************/ -#include -#include -#include -#include -#include /* C standard library */ -#include /* I/O standard library */ -#include +#include /* C strings library */ +#include /* primitive system data types */ +#include /* file characteristics constants and functions */ +#include /* unix standard library */ +#include /* C standard library */ +#include /* I/O standard library */ #include -#include +#include /* socket constants, types and functions */ #include +#include #include "Gapil.h" /* - * Program myhost + * Program mygetaddr * - * Use gethostbyname and print results + * Use getaddrinfo and print results */ /* Help printing routine */ void usage(void);