SDL_US_TO_NS - Convert microseconds to nanoseconds.
Contents
Availability
This macro is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_US_TO_NS(3)
Description
This only converts whole numbers, not fractional microseconds.
Header File
Defined in SDL3/SDL_timer.h
Name
SDL_US_TO_NS - Convert microseconds to nanoseconds.
Return Value
Returns US, expressed in nanoseconds.
Synopsis
#include"SDL3/SDL.h"#defineSDL_US_TO_NS(US)(((Uint64)(US))*SDL_NS_PER_US)
Thread Safety
It is safe to call this macro from any thread.
