Re: possible sources for porting sockatmark() of sys/socket.h

2020-03-22 Thread Joel Sherrill
On Sun, Mar 22, 2020, 8:21 PM Gedare Bloom wrote: > On Sun, Mar 22, 2020 at 1:22 PM Eshan Dhawan > wrote: > > > > confstr() from unistd.h also shows not supported in the compliance > status but it has some kind of supported in newlib(libc/sys/linux) > > sys/linux doesn't work on rtems. that is

Re: possible sources for porting sockatmark() of sys/socket.h

2020-03-22 Thread Gedare Bloom
On Sun, Mar 22, 2020 at 1:22 PM Eshan Dhawan wrote: > > confstr() from unistd.h also shows not supported in the compliance status > but it has some kind of supported in newlib(libc/sys/linux) sys/linux doesn't work on rtems. that is only for linux-specific newlib builds > it also needs to be u

Re: possible sources for porting sockatmark() of sys/socket.h

2020-03-22 Thread Eshan Dhawan
confstr() from unistd.h also shows not supported in the compliance status but it has some kind of supported in newlib(libc/sys/linux) it also needs to be updated in the compliance status I think On Mon, Mar 23, 2020 at 12:37 AM Eshan Dhawan wrote: > https://lists.rtems.org/pipermail/devel/2020-M

Re: possible sources for porting sockatmark() of sys/socket.h

2020-03-22 Thread Eshan Dhawan
It's present there. I hadn't checked there. On Mon, Mar 23, 2020 at 12:19 AM Joel Sherrill wrote: > > > On Sun, Mar 22, 2020, 1:37 PM Eshan Dhawan > wrote: > >> I have identifies 2 main sources to port sockatmark(). >> >> NetBSD source: >> https://github.com/NetBSD/src/blob/trunk/lib/libc/net/s

Re: possible sources for porting sockatmark() of sys/socket.h

2020-03-22 Thread Joel Sherrill
On Sun, Mar 22, 2020, 1:37 PM Eshan Dhawan wrote: > I have identifies 2 main sources to port sockatmark(). > > NetBSD source: > https://github.com/NetBSD/src/blob/trunk/lib/libc/net/sockatmark.c > > FreeBSD Source : > https://github.com/lattera/freebsd/blob/master/lib/libc/net/sockatmark.c > > mu

possible sources for porting sockatmark() of sys/socket.h

2020-03-22 Thread Eshan Dhawan
I have identifies 2 main sources to port sockatmark(). NetBSD source: https://github.com/NetBSD/src/blob/trunk/lib/libc/net/sockatmark.c FreeBSD Source : https://github.com/lattera/freebsd/blob/master/lib/libc/net/sockatmark.c musl has a same implementation as in FreeBSD which one would be bette