• Home
  • Raw
  • Download

Lines Matching refs:uptr

28 void *internal_memchr(const void *s, int c, uptr n);
29 int internal_memcmp(const void* s1, const void* s2, uptr n);
30 void *internal_memcpy(void *dest, const void *src, uptr n);
31 void *internal_memmove(void *dest, const void *src, uptr n);
33 void *internal_memset(void *s, int c, uptr n);
36 uptr internal_strcspn(const char *s, const char *reject);
38 uptr internal_strlen(const char *s);
39 char *internal_strncat(char *dst, const char *src, uptr n);
40 int internal_strncmp(const char *s1, const char *s2, uptr n);
41 char *internal_strncpy(char *dst, const char *src, uptr n);
42 uptr internal_strnlen(const char *s, uptr maxlen);
48 int internal_snprintf(char *buffer, uptr length, const char *format, ...);
52 bool mem_is_zero(const char *mem, uptr size);
56 uptr internal_mmap(void *addr, uptr length, int prot, int flags,
58 uptr internal_munmap(void *addr, uptr length);
65 uptr internal_close(fd_t fd);
69 uptr internal_open(const char *filename, int flags);
70 uptr internal_open(const char *filename, int flags, u32 mode);
72 uptr internal_read(fd_t fd, void *buf, uptr count);
73 uptr internal_write(fd_t fd, const void *buf, uptr count);
76 uptr internal_filesize(fd_t fd); // -1 on error.
77 uptr internal_stat(const char *path, void *buf);
78 uptr internal_lstat(const char *path, void *buf);
79 uptr internal_fstat(fd_t fd, void *buf);
80 uptr internal_dup2(int oldfd, int newfd);
81 uptr internal_readlink(const char *path, char *buf, uptr bufsize);
82 uptr internal_unlink(const char *path);
84 uptr internal_lseek(fd_t fd, OFF_T offset, int whence);
86 uptr internal_ptrace(int request, int pid, void *addr, void *data);
87 uptr internal_waitpid(int pid, int *status, int options);
88 uptr internal_getpid();
89 uptr internal_getppid();
92 uptr internal_sched_yield();
95 bool internal_iserror(uptr retval, int *rverrno = 0);