/seL4-refos-master/libs/libmuslc/src/network/ |
H A D | inet_ntop.c | 11 char buf[100]; local 20 snprintf(buf, sizeof buf, 27 snprintf(buf, sizeof buf, 34 for (i=best=0, max=2; buf[i]; i++) { 35 if (i && buf[i] != ':') continue; 36 j = strspn(buf+i, ":0"); 40 buf[best] = buf[bes [all...] |
H A D | recv.c | 3 ssize_t recv(int fd, void *buf, size_t len, int flags) argument 5 return recvfrom(fd, buf, len, flags, 0, 0);
|
H A D | send.c | 3 ssize_t send(int fd, const void *buf, size_t len, int flags) argument 5 return sendto(fd, buf, len, flags, 0, 0);
|
/seL4-refos-master/libs/libmuslc/src/crypt/ |
H A D | crypt.c | 14 static char buf[128]; local 15 return __crypt_r(key, salt, (struct crypt_data *)buf);
|
/seL4-refos-master/libs/libmuslc/src/dirent/ |
H A D | __getdents.c | 5 int __getdents(int fd, struct dirent *buf, size_t len) argument 7 return syscall(SYS_getdents, fd, buf, len);
|
/seL4-refos-master/libs/libmuslc/src/stat/ |
H A D | __xstat.c | 4 int __fxstat(int ver, int fd, struct stat *buf) argument 6 return fstat(fd, buf); 9 int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) argument 11 return fstatat(fd, path, buf, flag); 14 int __lxstat(int ver, const char *path, struct stat *buf) argument 16 return lstat(path, buf); 19 int __xstat(int ver, const char *path, struct stat *buf) argument 21 return stat(path, buf);
|
H A D | fstatat.c | 5 int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag) argument 7 return syscall(SYS_fstatat, fd, path, buf, flag);
|
H A D | fchmod.c | 14 char buf[15+3*sizeof(int)]; local 15 __procfdname(buf, fd); 17 return syscall(SYS_chmod, buf, mode); 19 return syscall(SYS_fchmodat, AT_FDCWD, buf, mode);
|
H A D | fstat.c | 15 char buf[15+3*sizeof(int)]; local 16 __procfdname(buf, fd); 18 return syscall(SYS_stat, buf, st); 20 return syscall(SYS_fstatat, AT_FDCWD, buf, st, 0);
|
H A D | lstat.c | 6 int lstat(const char *restrict path, struct stat *restrict buf) argument 9 return syscall(SYS_lstat, path, buf); 11 return syscall(SYS_fstatat, AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW);
|
H A D | stat.c | 6 int stat(const char *restrict path, struct stat *restrict buf) argument 9 return syscall(SYS_stat, path, buf); 11 return syscall(SYS_fstatat, AT_FDCWD, path, buf, 0);
|
/seL4-refos-master/libs/libmuslc/src/unistd/ |
H A D | pread.c | 5 ssize_t pread(int fd, void *buf, size_t size, off_t ofs) argument 7 return syscall_cp(SYS_pread, fd, buf, size, __SYSCALL_LL_PRW(ofs));
|
H A D | pwrite.c | 5 ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs) argument 7 return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL_PRW(ofs));
|
H A D | readlinkat.c | 4 ssize_t readlinkat(int fd, const char *restrict path, char *restrict buf, size_t bufsize) argument 6 return syscall(SYS_readlinkat, fd, path, buf, bufsize);
|
/seL4-refos-master/libs/libmuslc/src/stdlib/ |
H A D | ecvt.c | 7 static char buf[16]; local 15 buf[j] = tmp[i]; 16 buf[j] = 0; 19 return buf;
|
/seL4-refos-master/libs/libmuslc/src/string/ |
H A D | strerror_r.c | 5 int strerror_r(int err, char *buf, size_t buflen) argument 11 memcpy(buf, msg, buflen-1); 12 buf[buflen-1] = 0; 16 memcpy(buf, msg, l+1);
|
/seL4-refos-master/libs/libmuslc/src/ipc/ |
H A D | msgctl.c | 5 int msgctl(int q, int cmd, struct msqid_ds *buf) argument 8 return syscall(SYS_msgctl, q, cmd | IPC_64, buf); 10 return syscall(SYS_ipc, IPCOP_msgctl, q, cmd | IPC_64, 0, buf, 0);
|
H A D | semop.c | 5 int semop(int id, struct sembuf *buf, size_t n) argument 8 return syscall(SYS_semop, id, buf, n); 10 return syscall(SYS_ipc, IPCOP_semop, id, n, 0, buf);
|
H A D | semtimedop.c | 6 int semtimedop(int id, struct sembuf *buf, size_t n, const struct timespec *ts) argument 9 return syscall(SYS_semtimedop, id, buf, n, ts); 11 return syscall(SYS_ipc, IPCOP_semtimedop, id, n, 0, buf, ts);
|
H A D | shmctl.c | 5 int shmctl(int id, int cmd, struct shmid_ds *buf) argument 8 return syscall(SYS_shmctl, id, cmd | IPC_64, buf); 10 return syscall(SYS_ipc, IPCOP_shmctl, id, cmd | IPC_64, 0, buf, 0);
|
/seL4-refos-master/libs/libmuslc/src/legacy/ |
H A D | cuserid.c | 6 char *cuserid(char *buf) argument 12 snprintf(buf, L_cuserid, "%s", pw.pw_name); 13 return buf;
|
/seL4-refos-master/libs/libmuslc/src/passwd/ |
H A D | getgr_r.c | 4 #define FIX(x) (gr->gr_##x = gr->gr_##x-line+buf) 6 static int getgr_r(const char *name, gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) argument 24 buf += (16-(uintptr_t)buf)%16; 25 gr->gr_mem = (void *)buf; 26 buf += (nmem+1)*sizeof(char *); 27 memcpy(buf, line, len); 31 gr->gr_mem[i] = mem[i]-line+buf; 40 int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struct group **res) argument 42 return getgr_r(name, 0, gr, buf, siz 45 getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) argument [all...] |
/seL4-refos-master/libs/libmuslc/src/process/ |
H A D | fexecve.c | 8 char buf[15 + 3*sizeof(int)]; local 9 __procfdname(buf, fd); 10 execve(buf, argv, envp);
|
/seL4-refos-master/libs/libmuslc/src/stdio/ |
H A D | stderr.c | 3 static unsigned char buf[UNGET]; variable 5 .buf = buf+UNGET,
|
H A D | vdprintf.c | 3 static size_t wrap_write(FILE *f, const unsigned char *buf, size_t len) argument 5 return __stdio_write(f, buf, len); 12 .buf = (void *)fmt, .buf_size = 0,
|