summaryrefslogtreecommitdiff
path: root/include/stropts.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-06 09:03:19 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-06 09:03:19 -0400
commit106e75f7121b009c069733dcb8a70fe5e4380ab0 (patch)
tree0dad01735b2dd4e08e8b87acfbd34c029e0f30a2 /include/stropts.h
parent98c9af500125df41fdb46d7e384b00982d72493a (diff)
downloadmusl-106e75f7121b009c069733dcb8a70fe5e4380ab0.tar.gz
musl-106e75f7121b009c069733dcb8a70fe5e4380ab0.tar.bz2
musl-106e75f7121b009c069733dcb8a70fe5e4380ab0.tar.xz
musl-106e75f7121b009c069733dcb8a70fe5e4380ab0.zip
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).
Diffstat (limited to 'include/stropts.h')
-rw-r--r--include/stropts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stropts.h b/include/stropts.h
index 36d84bbb..c99c922e 100644
--- a/include/stropts.h
+++ b/include/stropts.h
@@ -129,7 +129,8 @@ struct str_list {
struct str_mlist *sl_modlist;
};
-int ioctl (int, int, ...);
+int isastream(int);
+int ioctl(int, int, ...);
#ifdef __cplusplus
}