Exemple #1
0
 public virtual Errno OnCreateHandle(
     string file, PathInfo info, FilePermissions mode)
 {
     return(Errno.ENOSYS);
 }
Exemple #2
0
 public virtual Errno OnReleaseDirectory(
     string directory, PathInfo info)
 {
     return(Errno.ENOSYS);
 }
Exemple #3
0
 public virtual Errno OnSynchronizeDirectory(
     string directory, PathInfo info, bool onlyUserData)
 {
     return(Errno.ENOSYS);
 }
Exemple #4
0
 public virtual Errno OnReleaseHandle(string file, PathInfo info)
 {
     return(Errno.ENOSYS);
 }
Exemple #5
0
 public virtual Errno OnSynchronizeHandle(
     string file, PathInfo info, bool onlyUserData)
 {
     return(Errno.ENOSYS);
 }
Exemple #6
0
 public virtual Errno OnLockHandle(
     string file, PathInfo info, FcntlCommand cmd, ref Flock @lock)
 {
     return(Errno.ENOSYS);
 }
Exemple #7
0
 public virtual Errno OnGetHandleStatus(
     string file, PathInfo info, out Stat buf)
 {
     buf = new Stat();
     return(Errno.ENOSYS);
 }
Exemple #8
0
 public virtual Errno OnTruncateHandle(
     string file, PathInfo info, long length)
 {
     return(Errno.ENOSYS);
 }
Exemple #9
0
 public static void CopyToPtr(PathInfo source, IntPtr dest)
 {
     source.flags = (OpenFlags)NativeConvert.FromOpenFlags(source.flags);
     Interop.adaptor_pathInfoToPtr(source, dest);
 }
Exemple #10
0
 // TODO check this
 public static void CopyFromPtr(IntPtr source, PathInfo dest)
 {
     Interop.adaptor_ptrToPathInfo(source, dest);
     dest.flags = NativeConvert.ToOpenFlags((int)dest.flags);
 }