Exemplo n.º 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;
 }
Exemplo n.º 2
0
		private static extern int ToUtimbuf (IntPtr source, out Utimbuf destination);
Exemplo n.º 3
0
		public static bool TryCopy (IntPtr source, out Utimbuf destination)
		{
			return ToUtimbuf (source, out destination) == 0;
		}
Exemplo n.º 4
0
		private static extern int FromUtimbuf (ref Utimbuf source, IntPtr destination);
Exemplo n.º 5
0
		public static bool TryCopy (ref Utimbuf source, IntPtr destination)
		{
			return FromUtimbuf (ref source, destination) == 0;
		}
Exemplo n.º 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();
		}
Exemplo n.º 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;
 }