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

/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Dpix_grab.c107 char *dpystr; local
139 dpystr = DisplayString(dpy);
140 if (dpystr[0] == ':')
141 (void) sscanf(dpystr, ":%u", &port);
143 (void) sscanf(dpystr, "%[^:]:%u", host, &port);
H A Drtn_grab.c632 char *dpystr; local
718 dpystr = DisplayString(dpy);
719 if (dpystr[0] == ':')
720 (void) sscanf(dpystr, ":%u", &port);
722 (void) sscanf(dpystr, "%[^:]:%u", host, &port);

Completed in 17 milliseconds