This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dumb question re getnetbyname


Zack Weinberg <zack@rabi.columbia.edu> writes:

> Is the `net' argument to getnetbyname in host or network byte order?

I assume you mean getnetbyaddr?

The XSH draft getnetbyaddr but not the actual semantic.  The n_net
element in struct netent is defined to contain the value on host byte
order so I assume the parameter has to be in the same byte order.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]