Mercurial > emacs
view lib-src/leditcfns.c @ 11934:4b82fb5bde27
(Foverlay_start, Foverlay_end): Declare these functions.
(Fprevious_single_property_change, Fend_of_line, Felt): Ditto.
(Fforward_line, Fforward_word, Fdelete_region, Fforward_char): Ditto.
(Fnarrow_to_region, Fwiden, Fmatch_beginning, Fmatch_end): Ditto.
(Fskip_chars_forward, Fskip_chars_backward): Ditto.
(Ffile_name_absolute_p, read_doc_string): Ditto.
(get_frame_param, store_frame_param, store_in_alist): Ditto.
(describe_map_tree): Declaration moved here from keymap.c.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 26 May 1995 04:29:09 +0000 |
parents | da530eb93c1a |
children | 695cf19ef79e |
line wrap: on
line source
#include <sgtty.h> #include <signal.h> #define STRLEN 100 static char str[STRLEN+1] = "%?emacs"; /* extra char for the null */ switch_to_proc(){ char *ptr = str; while (*ptr) ioctl(0, TIOCSTI, ptr++); ioctl(0, TIOCSTI, "\n"); kill(getpid(), SIGTSTP); } set_proc_str(ptr) char *ptr; { if (strlen(ptr) <= STRLEN) strcpy(str, ptr); else printf("string too long for set-proc-str: %s\n", ptr); }