Page MenuHomeFreeBSD

D58592.1795168090.diff
No OneTemporary

Authored By
Unknown
Size
727 B
Referenced Files
None
Subscribers
None

D58592.1795168090.diff

diff --git a/lib/libsys/stat.2 b/lib/libsys/stat.2
--- a/lib/libsys/stat.2
+++ b/lib/libsys/stat.2
@@ -263,9 +263,19 @@
.It Va st_blksize
Optimal I/O block size for the file.
.It Va st_blocks
-Actual number of blocks allocated for the file in 512-byte units.
+Actual number of blocks allocated for the file.
+.Pp
+Fore files located on filesystems, the block size is 512 bytes.
As short symbolic links are stored in the inode, this number may
be zero.
+.Pp
+For file descriptors referencing specific non-file objects,
+the field is type-specific.
+For POSIX shared memory segment
+.Pq see Xr shm_open 2 ,
+the block size is equal to
+the platform page size
+.Pq Xr getpagesize 2 .
.El
.Pp
The access-related fields of

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 20, 9:48 AM (7 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41865101
Default Alt Text
D58592.1795168090.diff (727 B)

Event Timeline