This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libc header questions


Hi,

I have two questions about libc include headers.

  1. Is there any reason socklen_t is defined as a macro
     instead of typedef in <cygwin/socket.h>?

  2. In <arpa/inet.h>, inet_ntop() is not consistent with POSIX.

       Cygwin: const char *inet_ntop(int, const void *, char *, size_t);
       POSIX:  const char *inet_ntop(int, const void *, char *, socklen_t);
       http://www.opengroup.org/onlinepubs/009695399/functions/inet_ntop.html

     Is this going to be fixed in the future version?

Regards,

--
Hiroki Sakagami

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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