Lines Matching defs:stat
35 #include <sys/stat.h>
187 int stat;
188 stat = ioctl (fbd, FBIOGET_VSCREENINFO,&var);
189 if (stat<0) return -2;
202 stat = ioctl (fbd, FBIOPUT_VSCREENINFO,&var);
203 if (stat<0) return -1;
313 int stat;
368 stat = ioctl (fbd, FBIOGET_FSCREENINFO,&fix);
369 if (stat<0){
373 stat = ioctl (fbd, FBIOGET_VSCREENINFO,&var);
374 if (stat<0){
378 stat = ioctl (fbd, FBIOPUT_VSCREENINFO,&var);
379 if (stat<0){
401 stat = setmode(fbd,&pixelformattable[i_pix],&vidsizetable[i_size]);
402 if (stat==-2) perror ("fbtest: could not get fb_var-screeninfo from fb-device");
403 else if (stat==-1){
422 stat = ioctl (fbd, FBIOPUTCMAP, &cmap);
423 if (stat<0) printf ("setting colourmap failed\n");
439 stat = munmap (pfb,fix.smem_len);
440 if (stat<0){