summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6626ff2)
SCCS-vsn: usr.bin/window/ww.h 3.63
SCCS-vsn: usr.bin/window/wwchild.c 3.15
SCCS-vsn: usr.bin/window/wwgets.c 3.17
SCCS-vsn: usr.bin/window/wwrint.c 3.11
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)ww.h 3.62 (Berkeley) %G%
+ * @(#)ww.h 3.63 (Berkeley) %G%
#define wwupdate() wwupdate1(0, wwnrow);
/* things for handling input */
#define wwupdate() wwupdate1(0, wwnrow);
/* things for handling input */
-int wwrint(); /* interrupt handler */
+void wwrint(); /* interrupt handler */
struct ww *wwcurwin; /* window to copy input into */
char *wwib; /* input (keyboard) buffer */
char *wwibe; /* wwib + sizeof buffer */
struct ww *wwcurwin; /* window to copy input into */
char *wwib; /* input (keyboard) buffer */
char *wwibe; /* wwib + sizeof buffer */
-static char sccsid[] = "@(#)wwchild.c 3.14 (Berkeley) %G%";
+static char sccsid[] = "@(#)wwchild.c 3.15 (Berkeley) %G%";
#endif /* not lint */
#include "ww.h"
#endif /* not lint */
#include "ww.h"
char collected = 0;
olderrno = errno;
char collected = 0;
olderrno = errno;
- while ((pid = wait3(&w, WNOHANG|WUNTRACED, (struct rusage *)0)) > 0) {
+ while ((pid =
+ wait3((int *)&w, WNOHANG|WUNTRACED, (struct rusage *)0)) > 0) {
for (wp = wwindex; wp < &wwindex[NWW]; wp++) {
if (*wp && (*wp)->ww_state == WWS_HASPROC
&& (*wp)->ww_pid == pid) {
for (wp = wwindex; wp < &wwindex[NWW]; wp++) {
if (*wp && (*wp)->ww_state == WWS_HASPROC
&& (*wp)->ww_pid == pid) {
-static char sccsid[] = "@(#)wwgets.c 3.16 (Berkeley) %G%";
+static char sccsid[] = "@(#)wwgets.c 3.17 (Berkeley) %G%";
#endif /* not lint */
#include "ww.h"
#endif /* not lint */
#include "ww.h"
register char *p = buf;
register char c;
char uc = w->ww_unctrl;
register char *p = buf;
register char c;
char uc = w->ww_unctrl;
w->ww_unctrl = 0;
for (;;) {
w->ww_unctrl = 0;
for (;;) {
rub(c, w)
struct ww *w;
{
rub(c, w)
struct ww *w;
{
-static char sccsid[] = "@(#)wwrint.c 3.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)wwrint.c 3.11 (Berkeley) %G%";
#endif /* not lint */
#include "ww.h"
#endif /* not lint */
#include "ww.h"
* when the buffer is empty; and everywhere else, we only change wwibp.
* It should be completely safe.
*/
* when the buffer is empty; and everywhere else, we only change wwibp.
* It should be completely safe.
*/