Scroll to navigation

SDL_MAX_TIME(3) SDL3 FUNCTIONS SDL_MAX_TIME(3)

NAME

SDL_MAX_TIME - SDL times are signed, 64-bit integers representing nanoseconds since the Unix epoch (Jan 1, 1970).

HEADER FILE

Defined in SDL3/SDL_stdinc.h

SYNOPSIS

#include "SDL3/SDL.h"
#define SDL_MAX_TIME SDL_MAX_SINT64

DESCRIPTION

They can be converted between POSIX time_t values with

SDL_NS_TO_SECONDS () and

SDL_SECONDS_TO_NS (), and between Windows FILETIME values with SDL_TimeToWindows () and

SDL_TimeFromWindows ().

AVAILABILITY

This macro is available since SDL 3.0.0.

SDL 3.1.2 Simple Directmedia Layer