Re: libc header questions

2005-09-19 Thread Hiroki Sakagami
On 9/17/05, Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Sep 17 15:08, Hiroki Sakagami wrote: > > 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 ? > > Is this a problem for you? The r

Re: libc header questions

2005-09-17 Thread Corinna Vinschen
On Sep 17 15:08, Hiroki Sakagami wrote: > 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 ? Is this a problem for you? The reasons are plain historical. I don't see that converting it to a typede

libc header questions

2005-09-16 Thread Hiroki Sakagami
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 ? 2. In , inet_ntop() is not consistent with POSIX. Cygwin: const char *inet_ntop(int, const void *, char *, size_t); POSIX: const char *inet