LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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
  Search this Thread
Old 02-21-2008, 01:49 PM   #1
matlin
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Question fifo help !!


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..!!
 
Old 02-21-2008, 02:51 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-29-2007 12:18 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 04:24 PM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration