annotate 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 |
rev |
line source |
0
|
1 #include <sgtty.h>
|
|
2 #include <signal.h>
|
|
3 #define STRLEN 100
|
|
4 static char str[STRLEN+1] = "%?emacs"; /* extra char for the null */
|
|
5
|
|
6 switch_to_proc(){
|
|
7 char *ptr = str;
|
|
8 while (*ptr) ioctl(0, TIOCSTI, ptr++);
|
|
9 ioctl(0, TIOCSTI, "\n");
|
|
10 kill(getpid(), SIGTSTP);
|
|
11 }
|
|
12
|
|
13 set_proc_str(ptr) char *ptr; {
|
|
14 if (strlen(ptr) <= STRLEN)
|
|
15 strcpy(str, ptr);
|
|
16 else
|
|
17 printf("string too long for set-proc-str: %s\n", ptr);
|
|
18 }
|