Searched refs:fd_mpconf (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c172 int fd_mpconf; local
194 if ((fd_mpconf = open(mpConfFilePath, O_RDONLY)) < 0) {
199 if (lock_register(fd_mpconf, F_SETLKW, F_RDLCK, 0, SEEK_SET, 0) < 0) {
200 close(fd_mpconf);
205 if ((mpconf = fdopen(fd_mpconf, "r")) == NULL) {
206 lock_register(fd_mpconf, F_SETLK, F_UNLCK, 0, SEEK_SET, 0);
207 close(fd_mpconf);
284 if (lock_register(fd_mpconf, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) {
286 close(fd_mpconf);
291 close(fd_mpconf);
[all...]

Completed in 21 milliseconds