Полезная информация

next up previous contents
Next: The select() function Up: The VFS Previous: The read() and write()

The readdir() function

This function is another artifact of file_operations being used for implementing filesystems as well as device drivers. Do not implement it. The kernel will return -ENOTDIR if the system call readdir() is called on your device special file.

Converted on:
Mon Apr 1 10:20:16 EST 1996