Searched refs:masterlink (Results 1 – 1 of 1) sorted by relevance
219 char buf[128], masterlink[128], *pos; in linux_master_get() local225 res = readlink(buf, masterlink, sizeof(masterlink)); in linux_master_get()226 if (res < 0 || (size_t) res >= sizeof(masterlink)) in linux_master_get()229 masterlink[res] = '\0'; in linux_master_get()231 pos = os_strrchr(masterlink, '/'); in linux_master_get()