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.c598 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()
Dlib.h215 char *readfileat(int dirfd, char *name, char *buf, off_t *len);
/external/toybox/toys/posix/
Dps.c741 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()