func _io_dir_entry_copy(path: RawPtr, index: Int, buf: RawPtr) 'io -> IntCopies the name of directory entry index into buf.
The caller must allocate the length returned by _io_dir_entry_len. The reply is the copied byte count or a negative errno and remains untrusted.
View Source
pub func _io_dir_entry_copy(path: RawPtr, index: Int, buf: RawPtr) 'io -> Int {
'io(request: .dir_entry_copy(path, index, buf))
}