Skip to content

Commit 8125353

Browse files
authored
Move $d_namlen to the end of $dirent (#264)
1 parent 2627acd commit 8125353

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

phases/ephemeral/docs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,13 +558,13 @@ The serial number of the file referred to by this directory entry.
558558

559559
Offset: 8
560560

561-
- <a href="#dirent.d_namlen" name="dirent.d_namlen"></a> `d_namlen`: [`dirnamlen`](#dirnamlen)
562-
The length of the name of the directory entry.
561+
- <a href="#dirent.d_type" name="dirent.d_type"></a> `d_type`: [`filetype`](#filetype)
562+
The type of the file referred to by this directory entry.
563563

564564
Offset: 16
565565

566-
- <a href="#dirent.d_type" name="dirent.d_type"></a> `d_type`: [`filetype`](#filetype)
567-
The type of the file referred to by this directory entry.
566+
- <a href="#dirent.d_namlen" name="dirent.d_namlen"></a> `d_namlen`: [`dirnamlen`](#dirnamlen)
567+
The length of the name of the directory entry.
568568

569569
Offset: 20
570570

phases/ephemeral/witx/typenames.witx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@
367367
(field $d_next $dircookie)
368368
;;; The serial number of the file referred to by this directory entry.
369369
(field $d_ino $inode)
370-
;;; The length of the name of the directory entry.
371-
(field $d_namlen $dirnamlen)
372370
;;; The type of the file referred to by this directory entry.
373371
(field $d_type $filetype)
372+
;;; The length of the name of the directory entry.
373+
(field $d_namlen $dirnamlen)
374374
)
375375
)
376376

0 commit comments

Comments
 (0)