`isastream` is an old, deprecated function for the STREAMS framework. Linux doesn't even support this natively, and so the musl implementation just returns 0 (not a STREAMS file) for valid file descriptors or -1 (for bad file descriptors).