Lines Matching defs:path
63 // Default audio file path prefix environment variable
79 const char *path, // filename
81 AudioUnixfile(path, acc),
99 const char *path)
103 // Verify intended path
104 if ((stat(path, &st) < 0) ||
106 (access(path, W_OK) < 0)) {
113 tmpdir = (char *)malloc(strlen(path) + 1);
114 (void) strcpy(tmpdir, path);
122 const char *path) // pathname or 0
138 if ((openmode == -1) || opened() || (strlen(path) == 0))
142 if (strcmp(path, tmpname) == 0) {
143 // Construct the temporary file path
161 desc = open(path, openmode | O_CREAT | O_TRUNC, 0666);
177 (void) unlink(path);
190 (void) unlink(path);
212 // Open a file, using the specified path prefixes
215 const char *path)
235 // Search path:
238 // 2) if name is a relative pathname, and 'path' is not NULL:
239 // try every path prefix in 'path'
253 // Try path as an environment variable name, else assume it is a path
254 str = (path == NULL) ? NULL : getenv(path);
256 str = (char *)path;
259 // Make a copy of the path, to parse it
264 // Try each component as a path prefix