Searched refs:BASEPATH (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libmixer/ |
H A D | mixer.c | 36 #define BASEPATH "/dev/mixer" macro 77 if (strncmp(name, BASEPATH, strlen(BASEPATH)) != 0) { in mixer_open() 81 if (strncmp(name, BASEPATH, strlen(name)) == 0) in mixer_open() 83 m->unit = strtol(name + strlen(BASEPATH), NULL, 10); in mixer_open() 90 (void)snprintf(m->name, sizeof(m->name), BASEPATH "%d", m->unit); in mixer_open() 510 n = strlcpy(buf, BASEPATH, size); in mixer_get_path() 512 n = snprintf(buf, size, BASEPATH "%d", unit); in mixer_get_path()
|