Lines Matching refs:size
41 prog(const char* command, char* path, size_t size)
55 if ((n = readlink(_PROC_PROG, path, size)) > 0)
57 if (n < size)
66 if (n < size)
77 e = path + size - 1;
98 if ((n = strlen(command) + 1) <= size)
106 pathprog(const char* command, char* path, size_t size)
111 if ((n = prog(command, path, size)) > 0 && n <= size && *path != '/')
115 else if ((n = strlen(buf) + 1) <= size)