Home | History | Annotate | Download | only in x11vnc

Lines Matching defs:file

5 This file is part of x11vnc.
28 modify this file, you may extend this exception to your version of the
29 file, but you are not obligated to do so. If you do not wish to do
62 char *atparms = NULL, *file = NULL;
97 file = strdup(q+1);
100 if (! file || file[0] == '\0') {
101 file = strdup("/dev/fb");
103 if (strstr(file, "fb") == file) {
104 q = (char *) malloc(strlen("/dev/") + strlen(file) + 1);
105 sprintf(q, "/dev/%s", file);
106 free(file);
107 file = q;
109 if (!strcmp(file, "/dev/fb")) {
112 if (stat(file, &sbuf) != 0) {
113 free(file);
114 file = strdup("/dev/fb0");
153 file = strdup(tmp);
154 fd = open(file, O_RDWR);
163 rfbLog("%s %dx%d\n", file, cols, rows);
178 rfbLog("console_guess: file is %s\n", file);
184 int d = open(file, O_RDWR);
224 rfbLog("could not open: %s\n", file);
226 linux_dev_fb_msg(file);
246 rfbLog("console_guess: file pipeinput %s\n",
251 rfbLog("console_guess: file pipeinput %s\n",
262 q = (char *) malloc(strlen("mmap:") + strlen(file) + 1 + strlen(atparms) + 1);
264 sprintf(q, "snap:%s@%s", file, atparms);
266 sprintf(q, "map:%s@%s", file, atparms);