Skip to content

Commit 07a3819

Browse files
committed
Addressed review comments
1 parent 3764361 commit 07a3819

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/safeposix/syscalls/fs_calls.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,8 @@ impl Cage {
16881688
// from the `_read_chr_file` file.
16891689
Inode::CharDev(char_inode_obj) => {
16901690
// reads from character devices by matching the device number (DevNo) of
1691-
// the DeviceInode.
1691+
// the DeviceInode. This function returns the number of bytes read from
1692+
// the character device and updates the buffer `buf` with them.
16921693
self._read_chr_file(&char_inode_obj, buf, count)
16931694
}
16941695
// For `Socket` type inode, a panic is returned as socket type files are not

0 commit comments

Comments
 (0)