1. MuPC supports only ISO C conforming library functions. If your code needs System V and BSD library functions, they must be declared and the declarations should be guarded by the __MUPC__ macro. For example, the 48-bit pseudo-random number generating functions (srand48(), drand48(), lrand48(), etc.) are the most often used non-ISO C functions. When they are used they should be declared in the code like the following:
            #ifdef __MUPC__
            void srand48(long);
    	double drand48(void);

© 2004 Michigan Technological University
Last modified 9/20/5