The PLIB general Utility Library.

By Steve Baker

Introduction.

The 'UL' utility library is primarily targetted towards hiding common operating system functions behind a thin layer that makes them portable.

For example, if you need to 'sleep' for 3 seconds, then under Linux/UNIX, you'd need to call:


  sleep ( 3 ) ;

But under MS-Windows, you have to say:

  Sleep ( 3000 ) ;

In order to avoid writing non-portable code, you can instead call:

  ulSleep ( 3 ) ;

...or...

  ulMilliSecondSleep ( 3000 ) ;

...under either operating system.

UL is a part of PLIB.


Steve J. Baker. <sjbaker1@airmail.net>