mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: John Wenker <jjw@pt.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: fstat(2) returns st_size==0 for non-empty FIFO.
Date: Wed, 10 Sep 2008 11:24:15 +0200	[thread overview]
Message-ID: <jehc8o9ww0.fsf@sykes.suse.de> (raw)
In-Reply-To: <OFA045C5CB.E26ECC40-ON882574BF.007A7015-882574BF.007ED085@pt.com> (John Wenker's message of "Tue, 9 Sep 2008 16:05:06 -0700")

John Wenker <jjw@pt.com> writes:

> [1.] One line summary of the problem:
> fstat(2) returns st_size == 0 for a FIFO that is known to have data in it.

st_size has no meaning except for regular files and symlinks.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

      parent reply	other threads:[~2008-09-10  9:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09 23:05 John Wenker
2008-09-10  9:19 ` Alejandro Riveira Fernández
2008-09-10  9:24 ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jehc8o9ww0.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=jjw@pt.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®