Lines Matching refs:buf
55 static char buf[PATHSIZE]; in libpath() local
57 snprintf(buf, sizeof (buf), "%s/%s", LIBPATH, file); in libpath()
58 return (buf); in libpath()
67 static char buf[PATHSIZE]; in helppath() local
72 snprintf(buf, sizeof (buf), "%s/%s/LC_MESSAGES/%s", in helppath()
74 if (access(buf, 0) == 0) in helppath()
75 return (buf); in helppath()
77 snprintf(buf, sizeof (buf), "%s/%s", LIBPATH, file); in helppath()
78 return (buf); in helppath()