Searched defs:LOCK_FILE (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c111 #define LOCK_FILE lock_file macro
1579 warn(gettext("Cannot open lock file %s"), LOCK_FILE);
1597 if ((fd = open(LOCK_FILE, O_EXCL|O_CREAT|O_RDWR, S_IRUSR|S_IWUSR))
1612 if (lstat(LOCK_FILE, &sbuf1) == -1) {
1613 EXIT_FATAL2("Cannot lstat lock file %s", LOCK_FILE);
1624 EXIT_FATAL2("Bad lock file %s", LOCK_FILE);
1626 if ((fd = open(LOCK_FILE, O_CREAT|O_RDWR,
1635 EXIT_FATAL2("Cannot lstat lock file %s", LOCK_FILE);
1640 EXIT_FATAL2("Bad lock file %s", LOCK_FILE);
1644 EXIT_FATAL2("Cannot lockf %s", LOCK_FILE);
[all...]

Completed in 52 milliseconds