stat(2): Document the st_rdev field

MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	bcr
Differential Revision:	https://reviews.freebsd.org/D51946
This commit is contained in:
Dag-Erling Smørgrav
2025-08-17 19:07:55 +02:00
parent 8073a5137f
commit 4eaa7f6662
+4 -1
View File
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd March 30, 2021
.Dd August 17, 2025
.Dt STAT 2
.Os
.Sh NAME
@@ -169,6 +169,9 @@ Flags enabled for the file.
See
.Xr chflags 2
for the list of flags and their description.
.It Va st_rdev
Numeric ID of the device referenced by the file, if the file is a
character or block special; otherwise unspecified.
.El
.Pp
The