1 /* Synched up with: FSF 19.28. */
6 static char str[STRLEN + 1] = "%?emacs"; /* extra char for the null */
12 ioctl(0, TIOCSTI, ptr++);
13 ioctl(0, TIOCSTI, "\n");
14 kill(getpid(), SIGTSTP);
20 if (strlen(ptr) <= STRLEN)
23 printf("string too long for set-proc-str: %s\n", ptr);