Skip to content

Commit 2f64d16

Browse files
committed
Move $d_namlen to the end of $dirent
1 parent d8b286c commit 2f64d16

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

phases/ephemeral/docs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,12 +469,12 @@ The offset of the next directory entry stored in this directory.
469469
- <a href="#dirent.d_ino" name="dirent.d_ino"></a> `d_ino`: [`inode`](#inode)
470470
The serial number of the file referred to by this directory entry.
471471

472-
- <a href="#dirent.d_namlen" name="dirent.d_namlen"></a> `d_namlen`: [`dirnamlen`](#dirnamlen)
473-
The length of the name of the directory entry.
474-
475472
- <a href="#dirent.d_type" name="dirent.d_type"></a> `d_type`: [`filetype`](#filetype)
476473
The type of the file referred to by this directory entry.
477474

475+
- <a href="#dirent.d_namlen" name="dirent.d_namlen"></a> `d_namlen`: [`dirnamlen`](#dirnamlen)
476+
The length of the name of the directory entry.
477+
478478
## <a href="#advice" name="advice"></a> `advice`: Enum(`u8`)
479479
File or memory access pattern advisory information.
480480

phases/ephemeral/witx/typenames.witx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,10 @@
362362
(field $d_next $dircookie)
363363
;;; The serial number of the file referred to by this directory entry.
364364
(field $d_ino $inode)
365-
;;; The length of the name of the directory entry.
366-
(field $d_namlen $dirnamlen)
367365
;;; The type of the file referred to by this directory entry.
368366
(field $d_type $filetype)
367+
;;; The length of the name of the directory entry.
368+
(field $d_namlen $dirnamlen)
369369
)
370370
)
371371

0 commit comments

Comments
 (0)