private static int sys_getfsfile (
		string mount_point, out _Fstab fs)
		{
			throw new System.NotImplementedException();
		}
		private static int sys_getfsspec (
		string special_file, out _Fstab fs)
		{
			throw new System.NotImplementedException();
		}
		private static extern int sys_getfsspec (string special_file, out _Fstab fs);
		private static int sys_getfsent (out _Fstab fs)
		{
			throw new System.NotImplementedException();
		}
		private static extern int sys_getfsent (out _Fstab fs);
		private static extern int sys_getfsfile (string mount_point, out _Fstab fs);
Beispiel #7
0
 private static int sys_getfsspec(
     string special_file, out _Fstab fs)
 {
     throw new System.NotImplementedException();
 }
		private static void CopyFstab (Fstab to, ref _Fstab from)
		{
			try {
				to.fs_spec     = UnixMarshal.PtrToString (from.fs_spec);
				to.fs_file     = UnixMarshal.PtrToString (from.fs_file);
				to.fs_vfstype  = UnixMarshal.PtrToString (from.fs_vfstype);
				to.fs_mntops   = UnixMarshal.PtrToString (from.fs_mntops);
				to.fs_type     = UnixMarshal.PtrToString (from.fs_type);
				to.fs_freq     = from.fs_freq;
				to.fs_passno   = from.fs_passno;
			}
			finally {
				Stdlib.free (from._fs_buf_);
				from._fs_buf_ = IntPtr.Zero;
			}
		}
Beispiel #9
0
 private static int sys_getfsfile(
     string mount_point, out _Fstab fs)
 {
     throw new System.NotImplementedException();
 }
Beispiel #10
0
 private static int sys_getfsent(out _Fstab fs)
 {
     throw new System.NotImplementedException();
 }
Beispiel #11
0
		private static extern int sys_getfsspec (
		[MarshalAs (UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(FileNameMarshaler))]
		string special_file, out _Fstab fs);
Beispiel #12
0
		private static extern int sys_getfsfile (
		[MarshalAs (UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(FileNameMarshaler))]
		string mount_point, out _Fstab fs);
Beispiel #13
0
		private static extern int sys_getfsent (out _Fstab fs);