Searched refs:buf (Results 26 - 50 of 349) sorted by relevance

1234567891011>>

/seL4-refos-master/libs/libmuslc/src/network/
H A Dinet_ntop.c11 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 Drecv.c3 ssize_t recv(int fd, void *buf, size_t len, int flags) argument
5 return recvfrom(fd, buf, len, flags, 0, 0);
H A Dsend.c3 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 Dcrypt.c14 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.c5 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.c4 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 Dfstatat.c5 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 Dfchmod.c14 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 Dfstat.c15 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 Dlstat.c6 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 Dstat.c6 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 Dpread.c5 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 Dpwrite.c5 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 Dreadlinkat.c4 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 Decvt.c7 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 Dstrerror_r.c5 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 Dmsgctl.c5 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 Dsemop.c5 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 Dsemtimedop.c6 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 Dshmctl.c5 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 Dcuserid.c6 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 Dgetgr_r.c4 #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 Dfexecve.c8 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 Dstderr.c3 static unsigned char buf[UNGET]; variable
5 .buf = buf+UNGET,
H A Dvdprintf.c3 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,

Completed in 72 milliseconds

1234567891011>>