Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wgetsigmask(3W)

,wsetsigmask(3W)

WEVENTCLEAR(3W)

NAME

weventclear − clear window locator events

SYNOPSIS

#include <window.h>
int weventclear(fd,mask);
int fd;
int mask;

DESCRIPTION

fd is an integer file descriptor for an opened window type device interface. 

mask is used to specify conditions to interrupt the user process with the SIGWINDOW signal. mask is a set of bits defined by the following bit names, where the default mask setting is 0. The header file containing these defines is /usr/include/window.h; the wsetsigmask(3W) reference page lists the events also. SIGWINDOW is defined in /usr/include/sys/signal.h. 

DISCUSSION

This routine will clear the events specified by the event mask, so that a subsequent weventpoll of those events will return a 0 count. 

SEE ALSO

wgetsigmask(3W),wsetsigmask(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for more information.

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026