[Libsysio-commit] HEAD: libsysio/src inode.c
Brought to you by:
lward
From: Sonja T. <so...@us...> - 2004-07-21 21:22:33
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv514/src Modified Files: inode.c Log Message: Fixing bugs to do with device files. Now, you cant open devices that do not have an associated driver. Also, you can now do an fstat() on a device Index: inode.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/inode.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -w -b -B -p -r1.17 -r1.18 --- inode.c 3 Jul 2004 05:47:13 -0000 1.17 +++ inode.c 21 Jul 2004 21:22:24 -0000 1.18 @@ -957,3 +957,14 @@ _sysio_do_enosys() return -ENOSYS; } + + +/* + * Return -ENODEV + */ +int +_sysio_do_enodev() +{ + + return -ENODEV; +} |