Re: Why isastream() alway returns 0?



Steven Woody writes:

Hi,

It seems that calling isastream( fd ) on many /dev/xxx such /dev/tty0
always return 0, means not a stream. What's wrong with it?

Perhaps because none of these devices, and actually nothing in Linux, is implemented using the UNIX System 5 streams, so this functiona will always return 0?


Attachment: pgpw08wyeeytO.pgp
Description: PGP signature



Relevant Pages

  • Re: 128k WMA problem solved on Wi-Fi radios
    ... then it'll actually be that Linux ... proprietary codecs. ... websites use browser sniffing to determine which browser is asking ... out or offered a stream of a different quality. ...
    (alt.radio.digital)
  • Re: RFC: Sony Playstation-3 the next IBM PC?
    ... >Blu-Ray to a Gnu/Linux box? ... >requiring HDMI for 1080p playback of Blu-Ray, ... Recording is already done in transport stream format. ... I do not know if there will be Linux drivers soon. ...
    (comp.sys.ibm.pc.hardware.chips)
  • Re: New page on using (Linux) computers for audio.
    ... to use a couple of Linux computers as machines for playing sound files. ... Arny Krueger) on Ubuntu Linux using Wine. ... Or check to see if soundcard hardware was altering the data ... stream being sent to it? ...
    (uk.rec.audio)
  • Re: New page on using (Linux) computers for audio.
    ... to use a couple of Linux computers as machines for playing sound files. ... Arny Krueger) on Ubuntu Linux using Wine. ... stream being sent to it? ... Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html ...
    (uk.rec.audio)
  • Icecast streaming daemon
    ... Today I was searchin for a Internet-Radio Solution for Linux but most is ... Must play a time controlled "NEWS" message I upload over Web ... -> a) trim the volume of stream 1) to zero ...
    (perl.beginners)