A convenience macro to improve code readability as well as to avoid mistakes in counting the number of zeros; represents the number of milliseconds in a second.
#include <prtime.h> #define PR_MSEC_PER_SEC 1000UL