瀏覽代碼

2003-05-16 Dick Porter <[email protected]>

	* MonoIO.cs: Implement GetTempPath

svn path=/trunk/mcs/; revision=14625
Dick Porter 23 年之前
父節點
當前提交
3797edd7df

+ 4 - 0
mcs/class/System/System.IO/ChangeLog

@@ -1,3 +1,7 @@
+2003-05-16  Dick Porter  <[email protected]>
+
+	* MonoIO.cs: Implement GetTempPath
+
 2003-03-17  Gonzalo Paniagua Javier <[email protected]>
 
 	* FileSystemWatcher.cs: added attributes and some more implementation.

+ 3 - 0
mcs/class/System/System.IO/MonoIO.cs

@@ -47,6 +47,9 @@ namespace System.IO
 
 		[MethodImplAttribute (MethodImplOptions.InternalCall)]
 		public extern static bool CreatePipe (out IntPtr read_handle, out IntPtr write_handle);
+
+		[MethodImplAttribute (MethodImplOptions.InternalCall)]
+		public extern static int GetTempPath(out string path);
 	}
 }
 

+ 4 - 0
mcs/class/corlib/System.IO/ChangeLog

@@ -1,3 +1,7 @@
+2003-05-16  Dick Porter  <[email protected]>
+
+	* MonoIO.cs: Implement GetTempPath
+
 2003-05-14  Gonzalo Paniagua Javier <[email protected]>
 
 	* DirectoryInfo.cs: fixed bug #42991.

+ 3 - 0
mcs/class/corlib/System.IO/MonoIO.cs

@@ -262,6 +262,9 @@ namespace System.IO
 			[MethodImplAttribute (MethodImplOptions.InternalCall)]
 			get;
 		}
+
+		[MethodImplAttribute (MethodImplOptions.InternalCall)]
+		public extern static int GetTempPath(out string path);
 	}
 }