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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c1640 int perm_fd; local
1649 perm_fd = open(perm_file, O_RDWR | O_CREAT, fmode);
1650 if (perm_fd == -1 || fstat(perm_fd, &st) == -1)
1657 if (fcntl(perm_fd, F_SETLK, &lock) != 0) {
1662 write(perm_fd, commentstr, sizeof (commentstr) - 1) !=
1666 if ((perm_fp = fdopen(perm_fd, "r+")) == NULL) {
1744 int perm_fd; local
1753 perm_fd = open(perm_file, O_RDONLY, 0);
1755 if (perm_fd
[all...]

Completed in 60 milliseconds