Annotation of pmsdk/samples/petzold/chap02/wel.c, revision 1.1

1.1     ! root        1: /*-------------------------------------------------
        !             2:    WEL.C -- A Program that Creates a Message Queue
        !             3:   -------------------------------------------------*/
        !             4: 
        !             5: #include <os2.h>
        !             6: 
        !             7: int main (void)
        !             8:      {
        !             9:      HAB  hab ;
        !            10:      HMQ  hmq ;
        !            11: 
        !            12:      hab = WinInitialize (0) ;
        !            13:      hmq = WinCreateMsgQueue (hab, 0) ;
        !            14: 
        !            15:      WinDestroyMsgQueue (hmq) ;
        !            16:      WinTerminate (hab) ;
        !            17: 
        !            18:      return 0 ;
        !            19:      }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.