LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Thread Tools
Old 02-21-2008, 01:49 PM   #1
matlin
LQ Newbie
 
Registered: Feb 2008
Posts: 2
Thanked: 0
Question fifo help !!


[Log in to get rid of this advertisement]
I have observed that the size of named pipe is always zero....
i am not understood properly we are writing something into fifo
using write() system call...then how can be it 0 ?
and will it be always 0 ?
does it due to the fact that it stores in some part of memory...
or any other reason...
what is an actual reason behind it..!!
matlin is offline     Reply With Quote
Old 02-21-2008, 02:51 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 2,974
Thanked: 37
Yup, it's always going to be 0.

A FIFO doesn't hold any data, it only a reference point to join the output of one program to the input of another. The data never actually touches the disks.

Dave
ilikejam is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
saving output from FIFO? slimshady Linux - Newbie 0 11-30-2007 08:44 PM
snmptrapd FIFO eccsamba Linux - Networking 2 11-24-2004 09:52 AM
FIFO using pointers AquamaN Programming 2 03-21-2004 06:51 PM
FIFO question gauge73 Linux - Newbie 1 03-01-2003 12:39 AM
nfs FIFO??? granny Linux - Newbie 1 12-16-2002 04:38 PM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration