Lines Matching refs:mpConfFilePath
176 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE];
192 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE);
194 if ((fd_mpconf = open(mpConfFilePath, O_RDONLY)) < 0) {
3459 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE];
3486 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE);
3488 if ((chmod(mpConfFilePath, S_IRUSR|S_IRGRP|S_IROTH) == -1) &&
3493 if ((mpconf = open(mpConfFilePath, O_RDWR | O_CREAT)) == -1) {
3578 char systemPath[MAX_NAME_SIZE], mpConfFilePath[MAX_NAME_SIZE],
3594 strncpy(mpConfFilePath, "/etc/mpapi.conf", MAX_NAME_SIZE);
3596 if ((chmod(mpConfFilePath, S_IRUSR|S_IRGRP|S_IROTH) == -1) &&
3602 if ((mpconf = open(mpConfFilePath, O_RDWR)) == -1) {
3662 if (rename(tmp_mpConfFilePath, mpConfFilePath) != 0) {