guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doco stat fields


From: Kevin Ryde
Subject: doco stat fields
Date: Sat, 31 May 2003 11:06:32 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

Prompted by Stefan mentioning AC_STRUCT_ST_BLOCKS, a possible few
words about stat fields not always available.

        * posix.texi (File System): stat:rdev and stat:blocks can return #f,
        stat:blksize returns a sensible size if the field is not available.

Formatted text for ease of contemplation.  The second sentence of each
is new.

      - Scheme Procedure: stat:rdev st
          Device ID; this entry is defined only for character or block
          special files.  On some systems this field is not available
          at all, in which case `stat:rdev' returns `#f'.

      - Scheme Procedure: stat:blksize st
          The optimal block size for reading or writing the file, in
          bytes.  On some systems this field is not available, in which
          case `stat:blksize' returns a sensible suggested block size.

      - Scheme Procedure: stat:blocks st
          The amount of disk space that the file occupies measured in
          units of 512 byte blocks.  On some systems this field is not
          available, in which case `stat:blocks' returns `#f'.

Attachment: posix.texi.stat.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]