Searched refs:readfileat (Results 1 – 4 of 4) sorted by relevance
/external/toybox/toys/other/ |
D | insmod.c | 45 char *buf = readfileat(AT_FDCWD, path, NULL, &len); in insmod_main()
|
/external/toybox/lib/ |
D | lib.c | 598 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() function 610 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile() 1129 if (!(comm = readfileat(AT_FDCWD, libbuf, libbuf, &len)) || !len) in names_to_pid() 1158 if (!(cmd = readfileat(AT_FDCWD, cmd, cmd, &len))) continue; in names_to_pid()
|
D | lib.h | 215 char *readfileat(int dirfd, char *name, char *buf, off_t *len);
|
/external/toybox/toys/posix/ |
D | ps.c | 741 if (!readfileat(fd, buf, buf, &len)) return 0; in get_ps() 787 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 801 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 828 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps() 840 if (readfileat(fd, buf, buf, &temp) && !memcmp(buf, "\177ELF", 4)) { in get_ps() 954 if (readfileat(fd, buf, buf, &len) && len>0) { in get_ps()
|