Beispiel #1
0
 public static extern int sethostname(byte *name, size_t len);
Beispiel #2
0
 public static extern size_t confstr(int name, byte *buf, size_t len);
Beispiel #3
0
 public static extern void *sbrk(size_t increment);
Beispiel #4
0
 public static extern void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset);
Beispiel #5
0
 public static extern int mprotect(void *addr, size_t len, int prot);
Beispiel #6
0
 public static extern ssize_t read(int fd, void *buf, size_t count);
Beispiel #7
0
 public static extern ssize_t readlink(byte *pathname, byte *buf, size_t bufsize);
Beispiel #8
0
 public static extern int madvise(void *addr, size_t length, int advice);
Beispiel #9
0
 public static extern int mincore(void *addr, size_t length, byte *vec);
Beispiel #10
0
 public static extern void *mremap(void *old_address, size_t old_size, size_t new_size, int flags, void *new_address);
Beispiel #11
0
 public static extern int remap_file_pages(void *addr, size_t size, int prot, size_t pgoff, int flags);
Beispiel #12
0
 public static extern int munlock(void *addr, size_t len);
Beispiel #13
0
 public static extern int mlock2(void *addr, size_t len, int flags);
Beispiel #14
0
 public static extern int msync(void *addr, size_t len, int flags);
Beispiel #15
0
 public static extern int setdomainname(byte *name, size_t len);
Beispiel #16
0
 public static extern int munmap(void *addr, size_t length);
Beispiel #17
0
 public static extern int setgroups(size_t size, gid_t *list);
Beispiel #18
0
 public static extern byte *getcwd(byte *buf, size_t size);
Beispiel #19
0
 public static extern ssize_t write(int fd, void *buf, size_t count);
Beispiel #20
0
 public static extern int ttyname_r(int fd, byte *but, size_t buflen);
Beispiel #21
0
 public static extern ssize_t readlinkat(int dirfd, byte *pathname, byte *buf, size_t bufsize);
Beispiel #22
0
 public static extern int getlogin_r(byte *buf, size_t bufsize);
Beispiel #23
0
 private unsafe syscall_arg(size_t value) => __value = *(ssize_t *)&value;
Beispiel #24
0
 public static extern int sched_setaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask);