add isastream (obsolete STREAMS junk)
authorRich Felker <dalias@aerifal.cx>
Sun, 6 May 2012 13:03:19 +0000 (09:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 6 May 2012 13:03:19 +0000 (09:03 -0400)
commit106e75f7121b009c069733dcb8a70fe5e4380ab0
tree0dad01735b2dd4e08e8b87acfbd34c029e0f30a2
parent98c9af500125df41fdb46d7e384b00982d72493a
add isastream (obsolete STREAMS junk)

apparently some packages see stropts.h and want to be able to use
this. the implementation checks that the file descriptor is valid by
using fcntl/F_GETFD so it can report an error if not (as specified).
include/stropts.h
src/misc/isastream.c [new file with mode: 0644]