Sync usage with man page.
[netbsd-mini2440.git] / dist / nvi / ipc / ipc_gen.c
blob53f2832935e36b8f722b18ddf8015a0cbdec5715
1 /* $NetBSD$ */
3 /* Do not edit: automatically built by build/distrib. */
4 static int
5 vi_c_bol(IPVIWIN *ipvi)
7 return vi_send_(ipvi, VI_C_BOL);
10 static int
11 vi_c_bottom(IPVIWIN *ipvi)
13 return vi_send_(ipvi, VI_C_BOTTOM);
16 static int
17 vi_c_del(IPVIWIN *ipvi)
19 return vi_send_(ipvi, VI_C_DEL);
22 static int
23 vi_c_down(IPVIWIN *ipvi, u_int32_t val1)
25 return vi_send_1(ipvi, VI_C_DOWN, val1);
28 static int
29 vi_c_eol(IPVIWIN *ipvi)
31 return vi_send_(ipvi, VI_C_EOL);
34 static int
35 vi_c_insert(IPVIWIN *ipvi)
37 return vi_send_(ipvi, VI_C_INSERT);
40 static int
41 vi_c_left(IPVIWIN *ipvi)
43 return vi_send_(ipvi, VI_C_LEFT);
46 static int
47 vi_c_pgdown(IPVIWIN *ipvi, u_int32_t val1)
49 return vi_send_1(ipvi, VI_C_PGDOWN, val1);
52 static int
53 vi_c_pgup(IPVIWIN *ipvi, u_int32_t val1)
55 return vi_send_1(ipvi, VI_C_PGUP, val1);
58 static int
59 vi_c_right(IPVIWIN *ipvi)
61 return vi_send_(ipvi, VI_C_RIGHT);
64 static int
65 vi_c_search(IPVIWIN *ipvi, const char *stra, u_int32_t lena, u_int32_t val1)
67 return vi_send_a1(ipvi, VI_C_SEARCH, stra, lena, val1);
70 static int
71 vi_c_settop(IPVIWIN *ipvi, u_int32_t val1)
73 return vi_send_1(ipvi, VI_C_SETTOP, val1);
76 static int
77 vi_c_top(IPVIWIN *ipvi)
79 return vi_send_(ipvi, VI_C_TOP);
82 static int
83 vi_c_up(IPVIWIN *ipvi, u_int32_t val1)
85 return vi_send_1(ipvi, VI_C_UP, val1);
88 static int
89 vi_edit(IPVIWIN *ipvi, const char *stra, u_int32_t lena)
91 return vi_send_a(ipvi, VI_EDIT, stra, lena);
94 static int
95 vi_editopt(IPVIWIN *ipvi, const char *stra, u_int32_t lena, const char *strb, u_int32_t lenb, u_int32_t val1)
97 return vi_send_ab1(ipvi, VI_EDITOPT, stra, lena, strb, lenb, val1);
100 static int
101 vi_editsplit(IPVIWIN *ipvi, const char *stra, u_int32_t lena)
103 return vi_send_a(ipvi, VI_EDITSPLIT, stra, lena);
106 static int
107 vi_eof(IPVIWIN *ipvi)
109 return vi_send_(ipvi, VI_EOF);
112 static int
113 vi_err(IPVIWIN *ipvi)
115 return vi_send_(ipvi, VI_ERR);
118 static int
119 vi_flags(IPVIWIN *ipvi, u_int32_t val1)
121 return vi_send_1(ipvi, VI_FLAGS, val1);
124 static int
125 vi_interrupt(IPVIWIN *ipvi)
127 return vi_send_(ipvi, VI_INTERRUPT);
130 static int
131 vi_mouse_move(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2)
133 return vi_send_12(ipvi, VI_MOUSE_MOVE, val1, val2);
136 static int
137 vi_quit(IPVIWIN *ipvi)
139 return vi_send_(ipvi, VI_QUIT);
142 static int
143 vi_resize(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2)
145 return vi_send_12(ipvi, VI_RESIZE, val1, val2);
148 static int
149 vi_sel_end(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2)
151 return vi_send_12(ipvi, VI_SEL_END, val1, val2);
154 static int
155 vi_sel_start(IPVIWIN *ipvi, u_int32_t val1, u_int32_t val2)
157 return vi_send_12(ipvi, VI_SEL_START, val1, val2);
160 static int
161 vi_sighup(IPVIWIN *ipvi)
163 return vi_send_(ipvi, VI_SIGHUP);
166 static int
167 vi_sigterm(IPVIWIN *ipvi)
169 return vi_send_(ipvi, VI_SIGTERM);
172 static int
173 vi_string(IPVIWIN *ipvi, const char *stra, u_int32_t lena)
175 return vi_send_a(ipvi, VI_STRING, stra, lena);
178 static int
179 vi_tag(IPVIWIN *ipvi)
181 return vi_send_(ipvi, VI_TAG);
184 static int
185 vi_tagas(IPVIWIN *ipvi, const char *stra, u_int32_t lena)
187 return vi_send_a(ipvi, VI_TAGAS, stra, lena);
190 static int
191 vi_tagsplit(IPVIWIN *ipvi)
193 return vi_send_(ipvi, VI_TAGSPLIT);
196 static int
197 vi_undo(IPVIWIN *ipvi)
199 return vi_send_(ipvi, VI_UNDO);
202 static int
203 vi_wq(IPVIWIN *ipvi)
205 return vi_send_(ipvi, VI_WQ);
208 static int
209 vi_write(IPVIWIN *ipvi)
211 return vi_send_(ipvi, VI_WRITE);
214 static int
215 vi_writeas(IPVIWIN *ipvi, const char *stra, u_int32_t lena)
217 return vi_send_a(ipvi, VI_WRITEAS, stra, lena);