Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* gethostbyname_r
@ 1997-12-05 23:50 Uncle George
  0 siblings, 0 replies; 3+ messages in thread
From: Uncle George @ 1997-12-05 23:50 UTC (permalink / raw)


can anyone tell me the 'alpha' or libc.works version of
gethostbyname_r/gethostbyaddr_r that is avail. There seems to be a
descrepency on the definition, and  what libc thinks it should be. (
there are more parameters defined )

    - or -

who does the proto's for the glib stuff

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: gethostbyname_r
@ 1997-12-06 12:49 Philip Blundell
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Blundell @ 1997-12-06 12:49 UTC (permalink / raw)


>can anyone tell me the 'alpha' or libc.works version of
>gethostbyname_r/gethostbyaddr_r that is avail. There seems to be a
>descrepency on the definition, and  what libc thinks it should be. (
>there are more parameters defined )

What do you think is wrong?  The prototypes are:

extern int gethostbyaddr_r __P ((__const char *__addr, int __len, int __type,
				 struct hostent *__result_buf, char *__buf,
				 size_t __buflen, struct hostent **__result,
				 int *__h_errnop));

extern int gethostbyname_r __P ((__const char *__name,
				 struct hostent *__result_buf, char *__buf,
				 size_t __buflen, struct hostent **__result,
				 int *__h_errnop));

I don't think they've changed in a long while.  Which `definition' do you 
refer to?

p.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: gethostbyname_r
@ 1997-12-11  9:09 Uncle George
  0 siblings, 0 replies; 3+ messages in thread
From: Uncle George @ 1997-12-11  9:09 UTC (permalink / raw)


i guess i was confused. it was the sun/solaris version of byaddr_r/name_r that is
different. the name_r has 5 parameters, the addr_r returns a pointer ( according
to sun ). its just confusing.
what further is confusing is the search of other sources for these names, but
again have diff parameters. anyway thanks
gat

Philip Blundell wrote:
I don't think they've changed in a long while.  Which `definition' do you

> refer to?
>
> p.

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-12-11  9:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-05 23:50 gethostbyname_r Uncle George
  -- strict thread matches above, loose matches on Subject: below --
1997-12-06 12:49 gethostbyname_r Philip Blundell
1997-12-11  9:09 gethostbyname_r Uncle George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox