*
* (C) 2001 Ximian, Inc.
* Copyright 2012 Xamarin Inc (http://www.xamarin.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#ifndef _MONO_METADATA_FILEIO_H_
ves_icall_System_IO_MonoIO_get_ConsoleError (void);
extern MonoBoolean
-ves_icall_System_IO_MonoIO_CreatePipe (HANDLE *read_handle,
- HANDLE *write_handle);
+ves_icall_System_IO_MonoIO_CreatePipe (HANDLE *read_handle, HANDLE *write_handle, gint32 *error);
-extern MonoBoolean ves_icall_System_IO_MonoIO_DuplicateHandle (HANDLE source_process_handle,
- HANDLE source_handle, HANDLE target_process_handle, HANDLE *target_handle,
- gint32 access, gint32 inherit, gint32 options);
+extern MonoBoolean
+ves_icall_System_IO_MonoIO_DuplicateHandle (HANDLE source_process_handle, HANDLE source_handle,
+ HANDLE target_process_handle, HANDLE *target_handle, gint32 access, gint32 inherit, gint32 options, gint32 *error);
extern gunichar2
ves_icall_System_IO_MonoIO_get_VolumeSeparatorChar (void);
extern MonoArray *
ves_icall_System_IO_MonoIO_get_InvalidPathChars (void);
-extern gint32
-ves_icall_System_IO_MonoIO_GetTempPath (MonoString **mono_name);
-
extern void ves_icall_System_IO_MonoIO_Lock (HANDLE handle, gint64 position,
gint64 length, gint32 *error);
extern void ves_icall_System_IO_MonoIO_Unlock (HANDLE handle, gint64 position,
MonoString *destinationBackupFileName, MonoBoolean ignoreMetadataErrors,
gint32 *error);
+MONO_RT_EXTERNAL_ONLY
extern gint64
mono_filesize_from_path (MonoString *path);
extern gint64
mono_filesize_from_fd (int fd);
+void
+ves_icall_System_IO_MonoIO_DumpHandles (void);
+
G_END_DECLS
#endif /* _MONO_METADATA_FILEIO_H_ */