mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
Merge branch 'master' of github.com:dankamongmen/notcurses
This commit is contained in:
commit
5459b4a8a7
@ -338,9 +338,9 @@ wchar_supppuab_p(wchar_t w){
|
|||||||
// masked and unmasked per ppoll(2). It should generally contain all signals.
|
// masked and unmasked per ppoll(2). It should generally contain all signals.
|
||||||
// Returns a single Unicode code point, or (wchar_t)-1 on error. 'sigmask' may
|
// Returns a single Unicode code point, or (wchar_t)-1 on error. 'sigmask' may
|
||||||
// be NULL.
|
// be NULL.
|
||||||
int notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
|
wchar_t notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
|
||||||
|
|
||||||
static inline int
|
static inline wchar_t
|
||||||
notcurses_getc_nblock(struct notcurses* n){
|
notcurses_getc_nblock(struct notcurses* n){
|
||||||
sigset_t sigmask;
|
sigset_t sigmask;
|
||||||
sigfillset(&sigmask);
|
sigfillset(&sigmask);
|
||||||
|
@ -228,9 +228,9 @@ wchar_supppuab_p(wchar_t w){
|
|||||||
// masked and unmasked per ppoll(2). It should generally contain all signals.
|
// masked and unmasked per ppoll(2). It should generally contain all signals.
|
||||||
// Returns a single Unicode code point, or (wchar_t)-1 on error. 'sigmask' may
|
// Returns a single Unicode code point, or (wchar_t)-1 on error. 'sigmask' may
|
||||||
// be NULL.
|
// be NULL.
|
||||||
API int notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
|
API wchar_t notcurses_getc(struct notcurses* n, const struct timespec* ts, sigset_t* sigmask);
|
||||||
|
|
||||||
static inline int
|
static inline wchar_t
|
||||||
notcurses_getc_nblock(struct notcurses* n){
|
notcurses_getc_nblock(struct notcurses* n){
|
||||||
sigset_t sigmask;
|
sigset_t sigmask;
|
||||||
sigfillset(&sigmask);
|
sigfillset(&sigmask);
|
||||||
|
Loading…
Reference in New Issue
Block a user