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

"arvid" <[email protected]>
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
hi.

> I wanna know what size of fifo is being used at the
> current time.. (not allocated size when a fifo was
> created)

yes, there is.
use the macros defined in rtl_fifo.h, such as RTF_LEN(nr).


> 
> and I have one more question.
> What's a difference using write and rtf_put in
> realtime process..? 

write is POSIX, rtf_put obviously not.


greets,
arvid

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++
_______________________________________________
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.