search for: shorttim

Displaying 1 result from an estimated 1 matches for "shorttim".

Did you mean: shorttime
1997 Oct 06
0
xterm "secure console" insecure
...Copyright (C) 1997 Christopher Creutzig */ #include <X11/Xlib.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> int main(int argc, char **argv) { Display *disp; int i, changed; char *s; struct timeval shorttime; char keys[32]; char lastkeys[32]; shorttime.tv_sec = 0; shorttime.tv_usec = 10; s = getenv("DISPLAY"); disp = XOpenDisplay(s); if (NULL==disp) { fprintf(stderr, "%s: can''t open display %s\n", argv[0], s); exit(1); } for(i=0; i<32; i++) { keys[...