commit | 106e75f7121b009c069733dcb8a70fe5e4380ab0 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sun May 06 09:03:19 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sun May 06 09:03:19 2012 -0400 |
tree | 0dad01735b2dd4e08e8b87acfbd34c029e0f30a2 | |
parent | 98c9af500125df41fdb46d7e384b00982d72493a [diff] |
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).