Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ev_read(S) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     EV_READ(S)                UNIX System V                EV_READ(S)



     Name
          ev_read - read the next event in the queue

     Syntax
          #include  <types.h>
          #include  <param.h>
          #include  <sysmacros.h>
          #include  <page.h>
          #include  <event.h>
          #include  <mouse.h>

          EVENT* ev_read()

     Description
          ev_read returns a pointer to the next event in the queue or
          NULL if the queue is empty. Multiple calls to this routine
          return the same pointer until ev_pop is called.

          It is an error to call this routine from a program which
          does not have an open event queue.

     Diagnostics
          This routine returns NULL if there is no event to read OR if
          there is not an open event queue.

     See Also
          ev_block(S), ev_close(S), ev_count(S), ev_flush(S),
          ev_getdev(S), ev_getemask(S), ev_gindev(S), ev_init(S),
          ev_open(S), ev_pop(S), ev_resume(S), ev_setemask(S),
          ev_suspend(S)

     Notes
          This routine must be linked in with the -levent linker
          option.
                                                (printed 6/20/89)



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