Skip to main content
Topic: sys/stropts.h has gone from glibc (Read 974 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

sys/stropts.h has gone from glibc

https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html
It provided isastream and I_PUSH among other things. Looking if there was some alternative header providing those I saw this - xtrans is a build dep of libice.
/usr/include$ ag sys/stropts
X11/Xtrans/Xtranslcl.c
84:# include <sys/stropts.h>
valgrind/vki/vki-solaris.h
1232:#include <sys/stropts.h>
/usr/include$ ag isastream
X11/Xtrans/Xtranslcl.c
682:    extern int      isastream(int);
721:    if (isastream(fd) <= 0) {
/usr/include$ ag I_PUSH
X11/Xtrans/Xtranslcl.c
793:    if( ioctl(pipefd[0], I_PUSH, "connld") != 0) {
794:   prmsg(1, "NAMEDOpenPipe: ioctl(I_PUSH,\"connld\") failed, errno=%d\n",errno);
valgrind/vki/vki-solaris.h
1237:#define VKI_I_PUSH I_PUSH

There is also still a stropts.h man page.