Annotation of os2sdk/demos/examples/readme, revision 1.1.1.2

1.1       root        1: 
                      2: 
                      3:   This is a collection of small routines that demonstrate some of the
1.1.1.2 ! root        4:   capabilities of the OS/2 operating system.  Many routines are "bound"
1.1       root        5:   to demonstrate compatability between DOS 3.X and OS/2.
                      6: 
                      7:   Below is a list of the programs available under this directory and 
                      8:   whether they run both Real and Protected mode.
                      9: 
                     10: Exec           Modes   Description
                     11: --------       -----   ---------------------
                     12: ALLOC          Real    - Allocates slabs of memory
                     13: ARGUMENT               - A technique for passing prameters to threads
                     14: ASMEXMPL               - ASM version of Threads
                     15: ASYNCIO                        - Prints 10240 'x' to the screen
                     16: BEEPC          Real    - Beeps the speaker
                     17: CONFIG         Real    - Displays machine configuration
                     18: COUNTRY                Real    - Displays the current country (code page) info.
                     19: CRITSEC                        - Two threads use critical section with printf().
                     20: CSALIAS                - Aliases a code segment with a Data segment.
                     21: CWAIT                  - Tasking example - wait for a child to exit.
                     22: DATETIME       Real    - Prints Date and time information
                     23: DOSEXIT                        - Example of the DOSEXIT call with threads
                     24: DYNLINK                - Example of C and ASM Dynamic link libraries
                     25: EXITLIST               - Sets up an exit routine and then exits.
                     26: FSINFO         Real    - Gets and sets A: volume information
                     27: GETENV         Real    - Prints out first element of environment
                     28: HELLO          Real    - Your standard "Hello, world" program.
                     29: HUGE           Real    - Allocates a "huge" slab of memory
                     30: INFOSEG                        - Prints out information about the process
                     31: IOPL                   - Gets and displays current cursor position
                     32: KEYS           Real    - Prints out keycodes using KBDCHARIN
                     33: KILL                   - Example of the DOSKILL call with threads
                     34: MACHMODE       Real    - Displays machine mode (Real/Protected)
                     35: MONITORS               - Example of registering and terminating monitors
                     36: MOVE           Real    - Move files about
                     37: PIPES                  - Two different examples of using pipes.
                     38: QHTYPE         Real    - Opens some files and prints out handle information
                     39: QUEUES                 - Two processes: a consumer and a server.
                     40: REALLOC                - Grows and shrinks a segment
                     41: SESSION                - Example of Session Manager API usage.
                     42: SETMAXFH               - Sets Maximum file handles to 30
                     43: SETVEC         Real    - Modifies the interrupt vector table
                     44: SHARE                  - Two processes pass keystrokes through shared memory
                     45: SIGNAL         Real    - Sets up a signal handler to catch ^C
                     46: SLEEP          Real    - Snoozes for a while
                     47: SUBALLOC       Real    - Demonstrates the SUBALLOC call.
                     48: SUSPEND                        - One thread suspending and resuming another thread
                     49: THREADS                        - C threads demo
                     50: TIMER                  - Sleeps and beeps three times.
                     51: VERSION                Real    - Prints DOS version
1.1.1.2 ! root       52: VIOREG                 - Registers a VIO subsystem
1.1       root       53: 
1.1.1.2 ! root       54: The make files of the bound programs rely on a set directory stucture.
        !            55: The bind utility looks for the .lib files in a \lib directory and the
        !            56: C compiler looks for the .h files in an \include directory, both
        !            57: under the root directory of the toolkit.
        !            58:     I.E. ..\..\..\lib and ..\..\..\include from the directory
        !            59: which the make file is in.
        !            60: 
        !            61: The make files also rely on the existence of the slibcep.lib library.
        !            62: This library is equivalent to slibce.lib and slibcer.lib, and the
        !            63: library found on your machine depends on how you installed C5.1.
        !            64: If the linker cannot find the required library, put slibce.lib
        !            65: or slibcer.lib, whichever you have, at the link prompt or rename the library
        !            66: you do have (slibce.lib or slibcer.lib) to slibcep.lib.

unix.superglobalmegacorp.com

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