Some of these could be handled using Mono.Posix (or Mono.Unix?), but I'm trying to remove dependency on the Mono runtime.
The reason that file descriptors are 64 bit is because that is how they are used in FUSE. That way they should work just as well on a 64bit system as a 32bit system (perhaps they should really be an IntPtr).
|
Static Public Member Functions |
| static int | chmod (string name, uint mode) |
| static int | chown (string name, int uid, int gid) |
| static int | closedir (IntPtr handle) |
| static int | close (IntPtr fd) |
| static int | fstat (IntPtr fd, ref Stat stat) |
| static int | link (string oldpath, string newpath) |
| static int | lstat (string name, ref Stat stat) |
| static int | mkdir (string name, uint mode) |
| static int | mknod (string name, uint mode, uint rdev) |
| static IntPtr | opendir (string name, out int err) |
| static IntPtr | open (string name, int flags, out int err) |
| static int | readlink (string name,[Out] StringBuilder buf, int bufLen) |
| static string | readlink (string name) |
| static Dirent | readdir (IntPtr handle) |
| static int | rename (string oldpath, string newpath) |
| static int | rmdir (string path) |
| static int | statfs (string name, ref StatFS stat) |
| static int | symlink (string oldpath, string newpath) |
| static int | sync (IntPtr fd, uint datasync) |
| static int | truncate (string name, ulong size) |
| static int | unlink (string path) |
| static int | utime (string name, ulong atime, ulong mtime) |