// Jonathan Pryor (jonpryor@vt.edu)
//
// (C) 2004-2005 Jonathan Pryor
+//
+
+// Deprecated Warning:
+//
+// This class is deprecated, and exists only for backward compatibility
+// with development versions of Mono 1.1.x. It will be removed with
+// Mono 1.2. Migrate to the Mono.Unix.Native types, or use the Unix*
+// wrapper classes instead.
+//
+// The [Map] attributes have been removed. However, since the type names
+// are identical to those in Mono.Unix.Native, the MonoPosixHelper methods
+// will continue to exist and function correctly.
+//
+
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
#region Enumerations
+ [Obsolete ("Use Mono.Unix.Native.Errno")]
[Map]
public enum Error : int {
// errors & their values liberally copied from
#region Classes
+ [Obsolete ("Use Mono.Unix.Native.FilePosition")]
public sealed class FilePosition : IDisposable {
private static readonly int FilePositionDumpSize =
#if NET_2_0 && UNMANAGED_FN_PTR_SUPPORT_FIXED
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
#endif
+ [Obsolete ("Use Mono.Unix.Native.SignalHandler")]
public delegate void SignalHandler (int signal);
#if !NET_2_0
// anything from Syscall is non-portable, but restricting yourself to just
// Stdlib is intended to be portable.
//
+ [CLSCompliant (false)]
+ [Obsolete ("Use Mono.Unix.Native.Stdlib")]
public class Stdlib
{
internal const string LIBC = "msvcrt";