Home
last modified time | relevance | path

Searched refs:readfileat (Results 1 – 4 of 4) sorted by relevance

/external/toybox/toys/other/
Dinsmod.c45 char *buf = readfileat(AT_FDCWD, path, NULL, &len); in insmod_main()
/external/toybox/lib/
Dlib.c494 char *readfileat(int dirfd, char *name, char *ibuf, off_t *plen) in readfileat() function
537 return readfileat(AT_FDCWD, name, ibuf, &len); in readfile()
1033 if (!(comm = readfileat(AT_FDCWD, libbuf, libbuf, &len)) || !len) in names_to_pid()
1061 if (!(cmd = readfileat(AT_FDCWD, cmd, cmd, &len))) continue; in names_to_pid()
Dlib.h194 char *readfileat(int dirfd, char *name, char *buf, off_t *len);
/external/toybox/toys/posix/
Dps.c691 if (!readfileat(fd, buf, buf, &len)) return 0; in get_ps()
732 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps()
746 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps()
769 if (!readfileat(fd, buf, buf, &temp)) *buf = 0; in get_ps()
781 if (readfileat(fd, buf, buf, &temp) && !memcmp(buf, "\177ELF", 4)) { in get_ps()
884 if (readfileat(fd, buf, buf, &len) && len>0) { in get_ps()