terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Interop.Sys Class Reference

Classes

struct  DirectoryEntry
 
struct  FileStatus
 

Static Public Member Functions

static string ReadLink (string path)
 

Package Types

enum  NodeType {
  DT_UNKNOWN , DT_FIFO , DT_CHR , DT_DIR = 4 ,
  DT_BLK = 6 , DT_REG = 8 , DT_LNK = 10 , DT_SOCK = 12 ,
  DT_WHT = 14
}
 
enum  FileStatusFlags { None = 0 , HasBirthTime = 1 }
 
enum  Permissions {
  Mask = 511 , S_IRWXU = 448 , S_IRUSR = 256 , S_IWUSR = 128 ,
  S_IXUSR = 64 , S_IRWXG = 56 , S_IRGRP = 32 , S_IWGRP = 16 ,
  S_IXGRP = 8 , S_IRWXO = 7 , S_IROTH = 4 , S_IWOTH = 2 ,
  S_IXOTH = 1
}
 

Package Functions

static Interop.Error ConvertErrorPlatformToPal (int platformErrno)
 
static int ConvertErrorPalToPlatform (Interop.Error error)
 
static unsafe void GetNonCryptographicallySecureRandomBytes (byte *buffer, int length)
 
static IntPtr OpenDir (string path)
 
static int GetReadDirRBufferSize ()
 
static unsafe int ReadDirR (IntPtr dir, byte *buffer, int bufferSize, [Out] Interop.Sys.DirectoryEntry outputEntry)
 
static int CloseDir (IntPtr dir)
 
static int Stat (string path, [Out] Interop.Sys.FileStatus output)
 
static int LStat (string path, [Out] Interop.Sys.FileStatus output)
 
static int Symlink (string target, string linkPath)
 
static int ChMod (string path, int mode)
 
static int CopyFile (SafeFileHandle source, SafeFileHandle destination)
 
static uint GetEGid ()
 
static uint GetEUid ()
 
static int LChflags (string path, uint flags)
 
static int Link (string source, string link)
 
static int MkDir (string path, int mode)
 
static int Rename (string oldPath, string newPath)
 
static int Stat (byte path, [Out] Interop.Sys.FileStatus output)
 
static int LStat (byte path, [Out] Interop.Sys.FileStatus output)
 
static int Unlink (string pathname)
 

Static Package Functions

static Interop.ErrorInfo GetLastErrorInfo ()
 
static string StrError (int platformErrno)
 
static int Stat (ReadOnlySpan< char > path, [Out] Interop.Sys.FileStatus output)
 
static int LStat (ReadOnlySpan< char > path, [Out] Interop.Sys.FileStatus output)
 
static unsafe int DoubleToString (double value, byte *format, byte *buffer, int bufferLength)
 

Static Package Attributes

static readonly bool CanSetHiddenFlag
 

Private Member Functions

static unsafe byte * StrErrorR (int platformErrno, byte *buffer, int bufferSize)
 
static int ReadLink (string path, byte[] buffer, int bufferSize)
 
static int LChflagsCanSetHiddenFlag ()
 

Static Private Member Functions

static Sys ()
 

Detailed Description

Definition at line 318 of file Interop.cs.


The documentation for this class was generated from the following file: