Searched defs:pathbuf (Results 1 - 2 of 2) sorted by relevance

/system/core/libcutils/
H A Ddebugger.c23 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) { argument
42 if (pathbuf && pathlen) {
43 ssize_t n = TEMP_FAILURE_RETRY(read(s, pathbuf, pathlen - 1));
47 pathbuf[n] = '\0';
/system/core/adb/
H A Dusb_linux.c232 char pathbuf[128]; local
276 snprintf(pathbuf, sizeof(pathbuf), "/sys/dev/char/%d:%d",
278 link_len = readlink(pathbuf, link, sizeof(link) - 1);
283 snprintf(pathbuf, sizeof(pathbuf),
285 devpath = pathbuf;

Completed in 22 milliseconds