Changeset View
Changeset View
Standalone View
Standalone View
lib/libedit/sig.h
/* $NetBSD: sig.h,v 1.10 2016/02/16 15:53:48 christos Exp $ */ | /* $NetBSD: sig.h,v 1.11 2016/05/09 21:46:56 christos Exp $ */ | ||||
/*- | /*- | ||||
* Copyright (c) 1992, 1993 | * Copyright (c) 1992, 1993 | ||||
* The Regents of the University of California. All rights reserved. | * The Regents of the University of California. All rights reserved. | ||||
* | * | ||||
* This code is derived from software contributed to Berkeley by | * This code is derived from software contributed to Berkeley by | ||||
* Christos Zoulas of Cornell University. | * Christos Zoulas of Cornell University. | ||||
* | * | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
#define ALLSIGSNO 7 | #define ALLSIGSNO 7 | ||||
typedef struct { | typedef struct { | ||||
struct sigaction sig_action[ALLSIGSNO]; | struct sigaction sig_action[ALLSIGSNO]; | ||||
sigset_t sig_set; | sigset_t sig_set; | ||||
volatile sig_atomic_t sig_no; | volatile sig_atomic_t sig_no; | ||||
} *el_signal_t; | } *el_signal_t; | ||||
protected void sig_end(EditLine*); | libedit_private void sig_end(EditLine*); | ||||
protected int sig_init(EditLine*); | libedit_private int sig_init(EditLine*); | ||||
protected void sig_set(EditLine*); | libedit_private void sig_set(EditLine*); | ||||
protected void sig_clr(EditLine*); | libedit_private void sig_clr(EditLine*); | ||||
#endif /* _h_el_sig */ | #endif /* _h_el_sig */ |