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

/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Dcmap_grab.c1065 static int lock_fd = -1 ; variable
1077 if( lock_fd == -1 ) {
1078 if( (lock_fd = open(lockdev_name, O_RDWR, 0)) == -1 &&
1079 (lock_fd = open(alt_lockdev_name, O_RDWR, 0)) == -1 )
1102 if( lock_fd == -1 && init() )
1112 MAP_SHARED, lock_fd, (off_t)cookie) ;
1121 MAP_SHARED, lock_fd, (off_t)cookie) ;
1141 if( lock_fd == -1 && init() )

Completed in 421 milliseconds