We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3764361 commit 07a3819Copy full SHA for 07a3819
src/safeposix/syscalls/fs_calls.rs
@@ -1688,7 +1688,8 @@ impl Cage {
1688
// from the `_read_chr_file` file.
1689
Inode::CharDev(char_inode_obj) => {
1690
// reads from character devices by matching the device number (DevNo) of
1691
- // the DeviceInode.
+ // the DeviceInode. This function returns the number of bytes read from
1692
+ // the character device and updates the buffer `buf` with them.
1693
self._read_chr_file(&char_inode_obj, buf, count)
1694
}
1695
// For `Socket` type inode, a panic is returned as socket type files are not
0 commit comments