Summary: | fstat of a named pipe returns st_size=0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Charles Gilman <cmg> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Charles Gilman
2004-07-16 14:01:37 UTC
This is not a bug. fstat will always return 0 for the size of a pipe. for reference: http://sources.redhat.com/ml/bug-glibc/2003-09/msg00098.html Found with via google: glibc fstat pipe Some BSD systems and Solaris do provide !0 for st_size. |