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

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.



Ross Biro
Mon May 22 11:57:09 PDT 1995