Received: with rfc822 via encapsulated-mail; Thu, 22 Feb 1996 01:38:01 GMT From tad.micro.umn.edu!rdm Wed Feb 21 17:37:00 1996 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0tpPxs-00063cC; Wed, 21 Feb 96 17:37 PST Received: from rdm.legislate.com ([192.77.155.13]) by pixar.com with SMTP id AA02479 (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 21 Feb 1996 17:36:58 -0800 Received: by rdm.legislate.com id (Debian /\oo/\ Smail3.1.29.1 #29.36); Wed, 21 Feb 96 20:37 EST Message-Id: Date: Wed, 21 Feb 96 20:37 EST From: Raul Miller To: debian-bugs@pixar.com Subject: gethostbyaddr(3) ill documented Package: libc5-dev Version: 5.2.18-1 I had difficulty figuring out the format of the first argument to gethostbyaddr. I looked at the man page, the info for libc, and /usr/include/netdb.h. I tried test programs with the address represented using struct sockaddr_in (from gethostbyname), using standard dots and digits, and of course using the struct in_addr (int) format [this turns out to be the correct format -- though I didn't notice this at first because of a bug in my test program]. I think this should more clearly documented. -- Raul