Mercurial > emacs
view lib-src/leditcfns.c @ 14066:2c6db67067ac
(Fboundp, Ffboundp, Fmakunbound, Ffmakunbound, Fsymbol_plist, Fsymbol_name,
Ffset, Fdefalias, Fdefine_function, Fsetplist, store_symval_forwarding,
swap_in_symval_forwarding, find_symbol_value, Fsymbol_value, Fset,
default_value, Fdefault_boundp, Fdefault_value, Fset_default,
Fsetq_default, Fmake_variable_buffer_local, Fmake_local_variable,
Fkill_local_variable, Flocal_variable_p, Flocal_variable_if_set_p, Faref,
Faset, Fzerop, Fnumber_to_string, Fstring_to_number, Frem, Fmod, Fadd1,
Fsub1, Flognot): Harmonize arguments with documentation.
author | Erik Naggum <erik@naggum.no> |
---|---|
date | Tue, 09 Jan 1996 00:31:02 +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); }