Is there any way to get the size of fifo at the current time

"Srinivas Naga Vutukuri" <[email protected]>
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>

Hi,

     I think, the following link answers your
both questions,
--------------snip-----------------
FIFOs are simple queues of raw bytes. Typically, fixed-sized data structures
are written to a FIFO, so that the reader doesn't need to worry about
message boundaries. In some cases variable-sized messages are written, in
which case the reader must search for the message boundary, often a special
character. In this example we used fixed-size messages.
--------------snip-----------------

and from Blocking v. Non-Blocking Reads you can conclude the
working of write and rtf_put...

 http://www.isd.mel.nist.gov/projects/rtlinux/rtutorial/doc/ex04_fifo.htm


Regards,
srinivas.


********************************************************************
No virus was detected in the attachment no filename

Your mail has been scanned by InterScan.
********************************************************************


The information contained in this electronic message and any attachments 
to this message are intended for the exclusive use of the addressee(s) 
and may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender at 
Samsung Electro-Mechanics Co. Ltd. or [email protected]
immediately and destroy all copies of this message and any attachments.
Any unauthorized review, use, disclosure, dissemination, forwarding, 
printing or copying of this email or any action taken in reliance on
this e-mail is strictly prohibited and may be unlawful.
_______________________________________________
Rtl mailing list
[email protected]
http://www2.fsmlabs.com/mailman/listinfo/rtl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.