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

/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_conf.c82 static int ibcfg_fd = -1; /* file descriptor */ variable
694 if (lockf(ibcfg_fd, F_ULOCK, 0) == -1) {
700 close(ibcfg_fd);
701 ibcfg_fd = -1;
740 if ((ibcfg_fd = open(ibconf_file, O_RDWR, 0666)) == -1) {
748 if (lockf(ibcfg_fd, F_TLOCK, 0) == -1) {
751 close(ibcfg_fd);
752 ibcfg_fd = -1;
757 if (fstat(ibcfg_fd, &ibcfg_st) != 0) {
770 if (ibcfg_st.st_size != read(ibcfg_fd, file_bu
[all...]

Completed in 21 milliseconds