예제 #1
0
 protected override Errno OnChangePathTimes(string path, ref Utimbuf buf)
 {
     int r = Syscall.utime (basedir+path, ref buf);
     if (r == -1)
         return Stdlib.GetLastError ();
     return 0;
 }
예제 #2
0
		private static extern int ToUtimbuf (IntPtr source, out Utimbuf destination);
예제 #3
0
		public static bool TryCopy (IntPtr source, out Utimbuf destination)
		{
			return ToUtimbuf (source, out destination) == 0;
		}
예제 #4
0
		private static extern int FromUtimbuf (ref Utimbuf source, IntPtr destination);
예제 #5
0
		public static bool TryCopy (ref Utimbuf source, IntPtr destination)
		{
			return FromUtimbuf (ref source, destination) == 0;
		}
예제 #6
0
        protected override Errno OnChangePathTimes(string path, ref Utimbuf buf)
        {
            Logger.WriteLineIf(LogLevel.Verbose, _fslog_props, string.Format("OnChangePathTimes, path={0}, buf={1}", path, buf));

              return this._rfs.ChangePathTimes(path, ref buf);
        }
		private static int ToUtimbuf (IntPtr source, out Utimbuf destination)
		{
			throw new System.NotImplementedException();
		}
		private static int FromUtimbuf (ref Utimbuf source, IntPtr destination)
		{
			throw new System.NotImplementedException();
		}
		private static int sys_utime (
		string filename, ref Utimbuf buf, int use_buf)
		{
			throw new System.NotImplementedException();
		}
예제 #10
0
 public virtual Errno ChangePathTimes(string path, ref Utimbuf buf)
 {
     int r = Syscall.utime (basedir+path, ref buf);
       if (r == -1)
     return Stdlib.GetLastError ();
       return 0;
 }