Dirent
data class Dirent(val dNext: Dircookie, val dIno: Inode, val dNamlen: Dirnamlen, val dType: Filetype)(source)
WASI Preview1 type $dirent
A directory entry.
Parameters
dNext
The offset of the next directory entry stored in this directory.
dIno
The serial number of the file referred to by this directory entry.
dNamlen
The length of the name of the directory entry.
dType
The type of the file referred to by this directory entry.
Definition:
(typename $dirent
(record
;;; The offset of the next directory entry stored in this directory.
(field $d_next $dircookie)
;;; The serial number of the file referred to by this directory entry.
(field $d_ino $inode)
;;; The length of the name of the directory entry.
(field $d_namlen $dirnamlen)
;;; The type of the file referred to by this directory entry.
(field $d_type $filetype)
)
)
Content copied to clipboard