Initializes a once synchronization control structure.
Threads Library (libpthreads.a)
#include <pthread.h>
static pthread_once_t once_block = PTHREAD_ONCE_INIT;
The PTHREAD_ONCE_INIT macro initializes the static once synchronization control structure once_block, used for one-time initializations with the pthread_once (pthread_once Subroutine) subroutine. The once synchronization control structure must be static to ensure the unicity of the initialization.