mirror of
https://github.com/fluencelabs/musl
synced 2025-07-30 22:01:57 +00:00
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).
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user