public static string gethostname() { return(Syscall.GetHostName()); }
public static int creat(string pathname, FileMode flags) { return(Syscall.syscall_creat(pathname, Syscall.map_Mono_Posix_FileMode(flags))); }
public static string getgroupname(int gid) { return(Syscall.helper_Mono_Posix_GetGroupName(gid)); }
public static int chmod(string path, FileMode mode) { return(Syscall.syscall_chmod(path, Syscall.map_Mono_Posix_FileMode(mode))); }
public static string strerror(int errnum) { return(Marshal.PtrToStringAnsi(Syscall._strerror(errnum))); }
public static int stat(string filename, out Stat stat) { return(Syscall.stat2(filename, false, out stat)); }
public static int open(string pathname, OpenFlags flags, FileMode mode) { int num = Syscall.map_Mono_Posix_OpenFlags(flags); return(Syscall.syscall_open(pathname, num, Syscall.map_Mono_Posix_FileMode(mode))); }
public static int mkdir(string pathname, FileMode mode) { return(Syscall.syscall_mkdir(pathname, Syscall.map_Mono_Posix_FileMode(mode))); }
public static int access(string pathname, AccessMode mode) { return(Syscall.syscall_access(pathname, Syscall.map_Mono_Posix_AccessMode(mode))); }
public static string getusername(int uid) { return(Syscall.helper_Mono_Posix_GetUserName(uid)); }