Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
233 lines (224 sloc) 12.9 KB
* This file was automatically generated by make-map from ../../mcs/class/lib/default/Mono.Posix.dll.
#include <config.h>
#ifndef INC_Mono_Posix_map_ICALLS_H
#define INC_Mono_Posix_map_ICALLS_H
#include <glib/gtypes.h>
* Structure Declarations
struct Mono_Posix_Flock;
struct Mono_Posix_Stat;
struct Mono_Posix_Statvfs;
struct Mono_Posix_Syscall__Dirent;
struct Mono_Posix_Syscall__Fstab;
struct Mono_Posix_Syscall__Group;
struct Mono_Posix_Syscall__Passwd;
struct Mono_Posix_Timeval;
struct Mono_Posix_Timezone;
struct Mono_Posix_Utimbuf;
* Function Declarations
int Mono_Posix_FromAccessMode (int value, int* rval);
int Mono_Posix_FromConfStr (int value, int* rval);
int Mono_Posix_FromDirectoryNotifyFlags (int value, int* rval);
int Mono_Posix_FromError (int value, int* rval);
int Mono_Posix_FromFcntlCommand (int value, int* rval);
int Mono_Posix_FromFilePermissions (unsigned int value, unsigned int* rval);
int Mono_Posix_FromLockType (short value, short* rval);
int Mono_Posix_FromLockfCommand (int value, int* rval);
int Mono_Posix_FromMlockallFlags (int value, int* rval);
int Mono_Posix_FromMmapFlags (int value, int* rval);
int Mono_Posix_FromMmapProt (int value, int* rval);
int Mono_Posix_FromMountFlags (guint64 value, guint64* rval);
int Mono_Posix_FromMremapFlags (guint64 value, guint64* rval);
int Mono_Posix_FromMsyncFlags (int value, int* rval);
int Mono_Posix_FromOpenFlags (int value, int* rval);
int Mono_Posix_FromPathConf (int value, int* rval);
int Mono_Posix_FromPollEvents (short value, short* rval);
int Mono_Posix_FromPosixFadviseAdvice (int value, int* rval);
int Mono_Posix_FromPosixMadviseAdvice (int value, int* rval);
int Mono_Posix_FromSeekFlags (short value, short* rval);
int Mono_Posix_FromSignum (int value, int* rval);
int Mono_Posix_FromSysConf (int value, int* rval);
int Mono_Posix_FromSyslogFacility (int value, int* rval);
int Mono_Posix_FromSyslogLevel (int value, int* rval);
int Mono_Posix_FromSyslogOptions (int value, int* rval);
int Mono_Posix_FromWaitOptions (int value, int* rval);
int Mono_Posix_FromXattrFlags (int value, int* rval);
int Mono_Posix_Stdlib_BUFSIZ (void);
void* Mono_Posix_Stdlib_CreateFilePosition (void);
int Mono_Posix_Stdlib_DumpFilePosition (char* buf, void* handle, int len);
int Mono_Posix_Stdlib_EOF (void);
int Mono_Posix_Stdlib_EXIT_FAILURE (void);
int Mono_Posix_Stdlib_EXIT_SUCCESS (void);
int Mono_Posix_Stdlib_FILENAME_MAX (void);
int Mono_Posix_Stdlib_FOPEN_MAX (void);
void Mono_Posix_Stdlib_InvokeSignalHandler (int signum, void* handler);
int Mono_Posix_Stdlib_L_tmpnam (void);
int Mono_Posix_Stdlib_MB_CUR_MAX (void);
int Mono_Posix_Stdlib_RAND_MAX (void);
void* Mono_Posix_Stdlib_SIG_DFL (void);
void* Mono_Posix_Stdlib_SIG_ERR (void);
void* Mono_Posix_Stdlib_SIG_IGN (void);
void Mono_Posix_Stdlib_SetLastError (int error);
int Mono_Posix_Stdlib_TMP_MAX (void);
int Mono_Posix_Stdlib__IOFBF (void);
int Mono_Posix_Stdlib__IOLBF (void);
int Mono_Posix_Stdlib__IONBF (void);
void* Mono_Posix_Stdlib_calloc (guint64 nmemb, guint64 size);
int Mono_Posix_Stdlib_fgetpos (void* stream, void* pos);
guint64 Mono_Posix_Stdlib_fread (void* ptr, guint64 size, guint64 nmemb, void* stream);
int Mono_Posix_Stdlib_fseek (void* stream, gint64 offset, int origin);
int Mono_Posix_Stdlib_fsetpos (void* stream, void* pos);
gint64 Mono_Posix_Stdlib_ftell (void* stream);
guint64 Mono_Posix_Stdlib_fwrite (void* ptr, guint64 size, guint64 nmemb, void* stream);
void* Mono_Posix_Stdlib_malloc (guint64 size);
void* Mono_Posix_Stdlib_realloc (void* ptr, guint64 size);
int Mono_Posix_Stdlib_setvbuf (void* stream, void* buf, int mode, guint64 size);
void* Mono_Posix_Stdlib_stderr (void);
void* Mono_Posix_Stdlib_stdin (void);
void* Mono_Posix_Stdlib_stdout (void);
int Mono_Posix_Syscall_L_ctermid (void);
int Mono_Posix_Syscall_L_cuserid (void);
int Mono_Posix_Syscall_WEXITSTATUS (int status);
int Mono_Posix_Syscall_WIFEXITED (int status);
int Mono_Posix_Syscall_WIFSIGNALED (int status);
int Mono_Posix_Syscall_WIFSTOPPED (int status);
int Mono_Posix_Syscall_WSTOPSIG (int status);
int Mono_Posix_Syscall_WTERMSIG (int status);
guint64 Mono_Posix_Syscall_confstr (int name, char* buf, guint64 len);
int Mono_Posix_Syscall_creat (const char* pathname, unsigned int mode);
void Mono_Posix_Syscall_endfsent (void);
int Mono_Posix_Syscall_fcntl (int fd, int cmd);
int Mono_Posix_Syscall_fcntl_arg (int fd, int cmd, gint64 arg);
int Mono_Posix_Syscall_fcntl_lock (int fd, int cmd, struct Mono_Posix_Flock* lock);
int Mono_Posix_Syscall_fgetgrent (void* stream, struct Mono_Posix_Syscall__Group* grbuf);
int Mono_Posix_Syscall_fgetpwent (void* stream, struct Mono_Posix_Syscall__Passwd* pwbuf);
gint64 Mono_Posix_Syscall_fgetxattr (int fd, const char* name, void* value, guint64 size);
gint64 Mono_Posix_Syscall_flistxattr (int fd, void* list, guint64 size);
gint64 Mono_Posix_Syscall_fpathconf (int filedes, int name);
int Mono_Posix_Syscall_fsetxattr (int fd, const char* name, void* value, guint64 size, int flags);
int Mono_Posix_Syscall_fstat (int filedes, struct Mono_Posix_Stat* buf);
int Mono_Posix_Syscall_fstatvfs (int fd, struct Mono_Posix_Statvfs* buf);
int Mono_Posix_Syscall_ftruncate (int fd, gint64 length);
void* Mono_Posix_Syscall_getcwd (char* buf, guint64 size);
int Mono_Posix_Syscall_getdomainname (char* name, guint64 len);
int Mono_Posix_Syscall_getfsent (struct Mono_Posix_Syscall__Fstab* fs);
int Mono_Posix_Syscall_getfsfile (const char* mount_point, struct Mono_Posix_Syscall__Fstab* fs);
int Mono_Posix_Syscall_getfsspec (const char* special_file, struct Mono_Posix_Syscall__Fstab* fs);
int Mono_Posix_Syscall_getgrent (struct Mono_Posix_Syscall__Group* grbuf);
int Mono_Posix_Syscall_getgrgid (unsigned int uid, struct Mono_Posix_Syscall__Group* group);
int Mono_Posix_Syscall_getgrgid_r (unsigned int uid, struct Mono_Posix_Syscall__Group* grbuf, void** grbufp);
int Mono_Posix_Syscall_getgrnam (const char* name, struct Mono_Posix_Syscall__Group* group);
int Mono_Posix_Syscall_getgrnam_r (const char* name, struct Mono_Posix_Syscall__Group* grbuf, void** grbufp);
gint64 Mono_Posix_Syscall_gethostid (void);
int Mono_Posix_Syscall_gethostname (char* name, guint64 len);
int Mono_Posix_Syscall_getlogin_r (char* name, guint64 bufsize);
int Mono_Posix_Syscall_getpwent (struct Mono_Posix_Syscall__Passwd* pwbuf);
int Mono_Posix_Syscall_getpwnam (const char* name, struct Mono_Posix_Syscall__Passwd* passwd);
int Mono_Posix_Syscall_getpwnam_r (const char* name, struct Mono_Posix_Syscall__Passwd* pwbuf, void** pwbufp);
int Mono_Posix_Syscall_getpwuid (unsigned int uid, struct Mono_Posix_Syscall__Passwd* passwd);
int Mono_Posix_Syscall_getpwuid_r (unsigned int uid, struct Mono_Posix_Syscall__Passwd* pwbuf, void** pwbufp);
int Mono_Posix_Syscall_gettimeofday (struct Mono_Posix_Timeval* tv, void* ignore);
gint64 Mono_Posix_Syscall_getxattr (const char* path, const char* name, void* value, guint64 size);
gint64 Mono_Posix_Syscall_lgetxattr (const char* path, const char* name, void* value, guint64 size);
gint64 Mono_Posix_Syscall_listxattr (const char* path, void* list, guint64 size);
gint64 Mono_Posix_Syscall_llistxattr (const char* path, void* list, guint64 size);
int Mono_Posix_Syscall_lockf (int fd, int cmd, gint64 len);
gint64 Mono_Posix_Syscall_lseek (int fd, gint64 offset, int whence);
int Mono_Posix_Syscall_lsetxattr (const char* path, const char* name, void* value, guint64 size, int flags);
int Mono_Posix_Syscall_lstat (const char* file_name, struct Mono_Posix_Stat* buf);
int Mono_Posix_Syscall_mincore (void* start, guint64 length, void* vec);
int Mono_Posix_Syscall_mknod (const char* pathname, unsigned int mode, guint64 dev);
int Mono_Posix_Syscall_mlock (void* start, guint64 len);
void* Mono_Posix_Syscall_mmap (void* start, guint64 length, int prot, int flags, int fd, gint64 offset);
int Mono_Posix_Syscall_mprotect (void* start, guint64 len, int prot);
void* Mono_Posix_Syscall_mremap (void* old_address, guint64 old_size, guint64 new_size, guint64 flags);
int Mono_Posix_Syscall_msync (void* start, guint64 len, int flags);
int Mono_Posix_Syscall_munlock (void* start, guint64 len);
int Mono_Posix_Syscall_munmap (void* start, guint64 length);
int Mono_Posix_Syscall_open (const char* pathname, int flags);
int Mono_Posix_Syscall_open_mode (const char* pathname, int flags, unsigned int mode);
gint64 Mono_Posix_Syscall_pathconf (const char* path, int name);
int Mono_Posix_Syscall_pipe (int* reading, int* writing);
int Mono_Posix_Syscall_posix_fadvise (int fd, gint64 offset, gint64 len, int advice);
int Mono_Posix_Syscall_posix_fallocate (int fd, gint64 offset, guint64 len);
int Mono_Posix_Syscall_posix_madvise (void* addr, guint64 len, int advice);
gint64 Mono_Posix_Syscall_pread (int fd, void* buf, guint64 count, gint64 offset);
gint64 Mono_Posix_Syscall_pwrite (int fd, void* buf, guint64 count, gint64 offset);
gint64 Mono_Posix_Syscall_read (int fd, void* buf, guint64 count);
int Mono_Posix_Syscall_readdir (void* dir, struct Mono_Posix_Syscall__Dirent* dentry);
int Mono_Posix_Syscall_readdir_r (void* dirp, struct Mono_Posix_Syscall__Dirent* entry, void** result);
int Mono_Posix_Syscall_readlink (const char* path, char* buf, guint64 bufsiz);
int Mono_Posix_Syscall_remap_file_pages (void* start, guint64 size, int prot, gint64 pgoff, int flags);
int Mono_Posix_Syscall_seekdir (void* dir, gint64 offset);
gint64 Mono_Posix_Syscall_sendfile (int out_fd, int in_fd, gint64* offset, guint64 count);
int Mono_Posix_Syscall_setdomainname (const char* name, guint64 len);
int Mono_Posix_Syscall_setfsent (void);
int Mono_Posix_Syscall_setgroups (guint64 size, unsigned int* list);
int Mono_Posix_Syscall_sethostid (gint64 hostid);
int Mono_Posix_Syscall_sethostname (const char* name, guint64 len);
int Mono_Posix_Syscall_settimeofday (struct Mono_Posix_Timeval* tv, struct Mono_Posix_Timezone* tz);
int Mono_Posix_Syscall_setxattr (const char* path, const char* name, void* value, guint64 size, int flags);
int Mono_Posix_Syscall_stat (const char* file_name, struct Mono_Posix_Stat* buf);
int Mono_Posix_Syscall_statvfs (const char* path, struct Mono_Posix_Statvfs* buf);
int Mono_Posix_Syscall_stime (gint64* t);
int Mono_Posix_Syscall_strerror_r (int errnum, char* buf, guint64 n);
void Mono_Posix_Syscall_swab (void* from, void* to, gint64 n);
gint64 Mono_Posix_Syscall_sysconf (int name);
gint64 Mono_Posix_Syscall_telldir (void* dir);
gint64 Mono_Posix_Syscall_time (gint64* t);
int Mono_Posix_Syscall_truncate (const char* path, gint64 length);
int Mono_Posix_Syscall_ttyname_r (int fd, char* buf, guint64 buflen);
int Mono_Posix_Syscall_utime (const char* filename, struct Mono_Posix_Utimbuf* buf, int use_buf);
int Mono_Posix_Syscall_utimes (const char* filename, struct Mono_Posix_Timeval* tvp);
gint64 Mono_Posix_Syscall_write (int fd, void* buf, guint64 count);
int Mono_Posix_ToAccessMode (int value, int* rval);
int Mono_Posix_ToConfStr (int value, int* rval);
int Mono_Posix_ToDirectoryNotifyFlags (int value, int* rval);
int Mono_Posix_ToError (int value, int* rval);
int Mono_Posix_ToFcntlCommand (int value, int* rval);
int Mono_Posix_ToFilePermissions (unsigned int value, unsigned int* rval);
int Mono_Posix_ToLockType (short value, short* rval);
int Mono_Posix_ToLockfCommand (int value, int* rval);
int Mono_Posix_ToMlockallFlags (int value, int* rval);
int Mono_Posix_ToMmapFlags (int value, int* rval);
int Mono_Posix_ToMmapProt (int value, int* rval);
int Mono_Posix_ToMountFlags (guint64 value, guint64* rval);
int Mono_Posix_ToMremapFlags (guint64 value, guint64* rval);
int Mono_Posix_ToMsyncFlags (int value, int* rval);
int Mono_Posix_ToOpenFlags (int value, int* rval);
int Mono_Posix_ToPathConf (int value, int* rval);
int Mono_Posix_ToPollEvents (short value, short* rval);
int Mono_Posix_ToPosixFadviseAdvice (int value, int* rval);
int Mono_Posix_ToPosixMadviseAdvice (int value, int* rval);
int Mono_Posix_ToSeekFlags (short value, short* rval);
int Mono_Posix_ToSignum (int value, int* rval);
int Mono_Posix_ToSysConf (int value, int* rval);
int Mono_Posix_ToSyslogFacility (int value, int* rval);
int Mono_Posix_ToSyslogLevel (int value, int* rval);
int Mono_Posix_ToSyslogOptions (int value, int* rval);
int Mono_Posix_ToWaitOptions (int value, int* rval);
int Mono_Posix_ToXattrFlags (int value, int* rval);
const char* helper_Mono_Posix_GetGroupName (int gid);
const char* helper_Mono_Posix_GetUserName (int uid);
int helper_Mono_Posix_Stat (const char* filename, int dereference, int* device, int* inode, int* mode, int* nlinks, int* uid, int* gid, int* rdev, gint64* size, gint64* blksize, gint64* blocks, gint64* atime, gint64* mtime, gint64* ctime);
const char* helper_Mono_Posix_readdir (void* dir);
int map_Mono_Posix_AccessMode (int mode);
int map_Mono_Posix_FileMode (int mode);
int map_Mono_Posix_OpenFlags (int flags);
int map_Mono_Posix_WaitOptions (int wait_options);
int wexitstatus (int status);
int wifexited (int status);
int wifsignaled (int status);
int wifstopped (int status);
int wstopsig (int status);
int wtermsig (int status);
#endif /* ndef INC_Mono_Posix_map_ICALLS_H */
Jump to Line
Something went wrong with that request. Please try again.