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

/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dcmap_grab.c222 int lockfd, /* lock device */ local
355 lockfd = open(infop->cm_lockdevname, O_RDWR,0666) ;
356 if( lockfd < 0 ) {
368 lockfd = devfd ;
370 cmap_grab->cm_lockfd = lockfd ;
377 lockfd, (off_t)cookie);
393 lockfd,(off_t)cookie) ;
H A Dwin_grab.c333 int lockfd ; local
526 lockfd = devfd ;
528 lockfd = open(infop->w_devname, O_RDWR,0666) ;
529 if( lockfd < 0 ) {
560 clientp->w_devfd = lockfd ;
590 lockfd,(off_t)infop->w_cookie);
600 close(lockfd) ;
610 lockfd,(off_t)infop->w_cookie) ;
620 close(lockfd) ;
631 close(lockfd) ;
923 int lockfd = clientp->w_devfd ; local
[all...]

Completed in 36 milliseconds