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

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DdpsXcmu.c7 * Permission to use, copy, modify, distribute, and sublicense this software
38 * Permission to use, copy, modify, and distribute this software and its
1573 XStandardColormap *copy; local
1581 copy = (XStandardColormap *) calloc(nProp+1, sizeof(XStandardColormap));
1585 if (copy == NULL) return;
1590 for (i = 0; i < nProp; i++) copy[i+1] = prop[i];
1594 for (i = 0; i < nProp; i++) copy[i] = prop[i];
1598 copy[i] = *map;
1599 XSetRGBColormaps(dpy, RootWindow(dpy, vinfo->screen), copy, nProp+1, atom);
1601 free((void *) copy);
[all...]

Completed in 15 milliseconds