tisdag den 28 september 2010 klockan 23:50 skrev Simon Josefsson detta:
> Mats Erik Andersson <mats.anders...@gisladisker.se> writes:
> 
> > My other suggested patching of the TFTP client presently adds
> >
> >      NI_MAXSERV
> >      struct addrinfo
> >      getaddrinfo(3)
> >      gai_strerror(3)
> >      freeaddrinfo(3)
> >      strrchr(3)
> >
> > All these are fulfilled by any decent OS as far as I understand.
> 
> And if they aren't, gnulib fixes that for us.
> 
> However, why do you need NI_MAXSERV?  I can't find it in POSIX nor in
> the Glibc manual.  I'm not sure it is portable.

See getnameinfo(3). The constant ought to be present in <netdb.h>
for every decent OS.


Mats E A

Reply via email to