section 3 · Library functions 📚
178720 pages · page 653 of 894
all3 (100762)33ssl (6156)3B (42)3G (1100)3I (51)3LIBIIO (1)3NCARG (834)3OpenMPI (1)3PVM (71)3Sympa (164)3U (96)3WN (5)3alc (212)3alleg4 (923)3alleg5 (1063)3am (31)3ast (63)3attr (4)3avr (983)3bobcat (143)3brotli (4)3bsd (239)3caca (346)3cl (1)3clc (322)3cocci (1)3coin2 (588)3coin3 (753)3coin4 (918)3compat (22)3const (18)3ctype (1)3curses (18)3cvc (2)3cxx (1060)3debug (15)3edit (1)3em (198)3embree3 (113)3embree4 (127)3erl (623)3f (128)3form (106)3freebsd (1)3fun (1)3gl (467)3gle (14)3go (1)3guile (1)3gv (7)3hal (49)3head (3)3http (66)3itcl (17)3itk (6)3iv (354)3iwidget (52)3java (1)3libmawk (10)3libunwind (29)3lua (13)3m17n (257)3m_cli2 (8)3menu (88)3monocypher (73)3nas (130)3ncurses (703)3nx (5)3o (437)3ossl (6166)3ossp (2)3p (882)3pcap (75)3perl (820)3pg13 (68)3pg14 (72)3pg15 (72)3pg16 (72)3pg17 (72)3pg18 (72)3php (1)3plplot (175)3pm (34259)3pmc (296)3posix (882)3pub (150)3python (1)3qt (832)3r (1)3readline (2)3rheolef (13)3rtapi (66)3ruby (1)3scm (459)3sharp (1)3so (8)3ssl (6930)3stap (807)3str (19)3supp (19)3t (35)3tcl (1477)3tcllib (1)3tclx (25)3tiff (60)3tk (513)3tls (13)3trf (28)3ts (239)3type (466)3valkey (395)3visa (2)3x (1069)
S (continued)
- SDL_SetMemoryFunctions(3)Replace SDL's memory allocation functions with a custom set.✨
- SDL_SetModState(3)Set the current key modifier state for the keyboard.✨
- SDL_SetNumberProperty(3)Set an integer property in a group of properties.✨
- SDL_SetPalette(3)Sets the colors in the palette of an 8-bit surface.✨
- SDL_SetPaletteColors(3)Set a range of colors in a palette.✨
- SDL_SetPointerProperty(3)Set a pointer property in a group of properties.✨
- SDL_SetPointerPropertyWithCleanup(3)Set a pointer property in a group of properties with a cleanup function that is called when the property is deleted.✨
- SDL_SetPrimarySelectionText(3)Put UTF-8 text into the primary selection.✨
- SDL_SetRelativeMouseTransform(3)Set a user-defined function by which to transform relative mouse inputs.✨
- SDL_SetRenderClipRect(3)Set the clip rectangle for rendering on the specified target.✨
- SDL_SetRenderColorScale(3)Set the color scale used for render operations.✨
- SDL_SetRenderDrawBlendMode(3)Set the blend mode used for drawing operations.✨
- SDL_SetRenderDrawColor(3)Set the color used for drawing operations.✨
- SDL_SetRenderDrawColorFloat(3)Set the color used for drawing operations (Rect, Line and Clear).✨
- SDL_SetRenderLogicalPresentation(3)Set a device-independent resolution and presentation mode for rendering.✨
- SDL_SetRenderScale(3)Set the drawing scale for rendering on the current target.✨
- SDL_SetRenderTarget(3)Set a texture as the current rendering target.✨
- SDL_SetRenderTextureAddressMode(3)Set the texture addressing mode used in SDL_RenderGeometry().✨
- SDL_SetRenderViewport(3)Set the drawing area for rendering on the current target.✨
- SDL_SetRenderVSync(3)Toggle VSync of the given renderer.✨
- SDL_SetScancodeName(3)Set a human-readable name for a scancode.✨
- SDL_SetStringProperty(3)Set a string property in a group of properties.✨
- SDL_SetSurfaceAlphaMod(3)Set an additional alpha value used in blit operations.✨
- SDL_SetSurfaceBlendMode(3)Set the blend mode used for blit operations.✨
- SDL_SetSurfaceClipRect(3)Set the clipping rectangle for a surface.✨
- SDL_SetSurfaceColorKey(3)Set the color key (transparent pixel) in a surface.✨
- SDL_SetSurfaceColorMod(3)Set an additional color value multiplied into blit operations.✨
- SDL_SetSurfaceColorspace(3)Set the colorspace used by a surface.✨
- SDL_SetSurfacePalette(3)Set the palette used by a surface.✨
- SDL_SetSurfaceRLE(3)Set the RLE acceleration hint for a surface.✨
- SDL_SetTextInputArea(3)Set the area used to type Unicode text input.✨
- SDL_SetTextureAlphaMod(3)Set an additional alpha value multiplied into render copy operations.✨
- SDL_SetTextureAlphaModFloat(3)Set an additional alpha value multiplied into render copy operations.✨
- SDL_SetTextureBlendMode(3)Set the blend mode for a texture, used by SDL_RenderTexture().✨
- SDL_SetTextureColorMod(3)Set an additional color value multiplied into render copy operations.✨
- SDL_SetTextureColorModFloat(3)Set an additional color value multiplied into render copy operations.✨
- SDL_SetTexturePalette(3)Set the palette used by a texture.✨
- SDL_SetTextureScaleMode(3)Set the scale mode used for texture scale operations.✨
- SDL_SetTimer(3)Set a callback to run after the specified number of milliseconds has elapsed.✨
- SDL_SetTLS(3)Set the current thread's value associated with a thread local storage ID.✨
- SDL_SetTrayEntryCallback(3)Sets a callback to be invoked when the entry is selected.✨
- SDL_SetTrayEntryChecked(3)Sets whether or not an entry is checked.✨
- SDL_SetTrayEntryEnabled(3)Sets whether or not an entry is enabled.✨
- SDL_SetTrayEntryLabel(3)Sets the label of an entry.✨
- SDL_SetTrayIcon(3)Updates the system tray icon's icon.✨
- SDL_SetTrayTooltip(3)Updates the system tray icon's tooltip.✨
- SDL_SetVideoMode(3)Set up a video mode with the specified width, height and bits-per-pixel.✨
- SDL_SetWindowAlwaysOnTop(3)Set the window to always be above the others.✨
- SDL_SetWindowAspectRatio(3)Request that the aspect ratio of a window's client area be set.✨
- SDL_SetWindowBordered(3)Set the border state of a window.✨
- SDL_SetWindowFillDocument(3)Set the window to fill the current document space (Emscripten only).✨
- SDL_SetWindowFocusable(3)Set whether the window may have input focus.✨
- SDL_SetWindowFullscreen(3)Request that the window's fullscreen state be changed.✨
- SDL_SetWindowFullscreenMode(3)Set the display mode to use when a window is visible and fullscreen.✨
- SDL_SetWindowHitTest(3)Provide a callback that decides if a window region has special properties.✨
- SDL_SetWindowIcon(3)Set the icon for a window.✨
- SDL_SetWindowKeyboardGrab(3)Set a window's keyboard grab mode.✨
- SDL_SetWindowMaximumSize(3)Set the maximum size of a window's client area.✨
- SDL_SetWindowMinimumSize(3)Set the minimum size of a window's client area.✨
- SDL_SetWindowModal(3)Toggle the state of the window as modal.✨
- SDL_SetWindowMouseGrab(3)Set a window's mouse grab mode.✨
- SDL_SetWindowMouseRect(3)Confines the cursor to the specified area of a window.✨
- SDL_SetWindowOpacity(3)Set the opacity for a window.✨
- SDL_SetWindowParent(3)Set the window as a child of a parent window.✨
- SDL_SetWindowPosition(3)Request that the window's position be set.✨
- SDL_SetWindowProgressState(3)Sets the state of the progress bar for the given window’s taskbar icon.✨
- SDL_SetWindowProgressValue(3)Sets the value of the progress bar for the given window’s taskbar icon.✨
- SDL_SetWindowRelativeMouseMode(3)Set relative mouse mode for a window.✨
- SDL_SetWindowResizable(3)Set the user-resizable state of a window.✨
- SDL_SetWindowShape(3)Set the shape of a transparent window.✨
- SDL_SetWindowSize(3)Request that the size of a window's client area be set.✨
- SDL_SetWindowsMessageHook(3)Set a callback for every Windows message, run before TranslateMessage().✨
- SDL_SetWindowSurfaceVSync(3)Toggle VSync for the window surface.✨
- SDL_SetWindowTitle(3)Set the title of a window.✨
- SDL_SetX11EventHook(3)Set a callback for every X11 event.✨
- SDL_SharedObject(3type)An opaque datatype that represents a loaded shared object.✨
- SDL_ShouldInit(3)Return whether initialization should be done.✨
- SDL_ShouldQuit(3)Return whether cleanup should be done.✨
- SDL_ShowAndroidToast(3)Shows an Android toast notification.✨
- SDL_ShowCursor(3)Show the cursor.✨
- SDL_ShowFileDialogWithProperties(3)Create and launch a file dialog with the specified properties.✨
- SDL_ShowMessageBox(3)Create a modal message box.✨
- SDL_ShowOpenFileDialog(3)Displays a dialog that lets the user select a file on their filesystem.✨
- SDL_ShowOpenFolderDialog(3)Displays a dialog that lets the user select a folder on their filesystem.✨
- SDL_ShowSaveFileDialog(3)Displays a dialog that lets the user choose a new or existing file on their filesystem.✨
- SDL_ShowSimpleMessageBox(3)Display a simple modal message box.✨
- SDL_ShowWindow(3)Show a window.✨
- SDL_ShowWindowSystemMenu(3)Display the system-level window menu.✨
- SDL_SignalAsyncIOQueue(3)Wake up any threads that are blocking in SDL_WaitAsyncIOResult().✨
- SDL_SignalCondition(3)Restart one of the threads that are waiting on the condition variable.✨
- SDL_SignalSemaphore(3)Atomically increment a semaphore's value and wake waiting threads.✨
- SDL_sin(3)Compute the sine of x.✨
- SDL_sinf(3)Compute the sine of x.✨
- SDL_SINT64_C(3)Append the 64 bit integer suffix to a signed integer literal.✨
- SDL_size_add_check_overflow(3)Add two integers, checking for overflow.✨
- SDL_SIZE_MAX(3)The largest value that a size_t can hold for the target platform.✨
- SDL_size_mul_check_overflow(3)Multiply two integers, checking for overflow.✨
- SDL_snprintf(3)This works exactly like snprintf() but doesn't require access to a C runtime.✨
- SDL_SOFTWARE_RENDERER(3)The name of the software renderer.✨
- SDL_sound.h(3)✨
- SDL_SpinLock(3type)An atomic spinlock.✨
- SDL_sqrt(3)Compute the square root of x.✨
- SDL_sqrtf(3)Compute the square root of x.✨
- SDL_srand(3)Seeds the pseudo-random number generator.✨
- SDL_sscanf(3)This works exactly like sscanf() but doesn't require access to a C runtime.✨
- SDL_SSE2_INTRINSICS(3)Defined if (and only if) the compiler supports Intel SSE2 intrinsics.✨
- SDL_SSE3_INTRINSICS(3)Defined if (and only if) the compiler supports Intel SSE3 intrinsics.✨
- SDL_SSE4_1_INTRINSICS(3)Defined if (and only if) the compiler supports Intel SSE4.1 intrinsics.✨
- SDL_SSE4_2_INTRINSICS(3)Defined if (and only if) the compiler supports Intel SSE4.2 intrinsics.✨
- SDL_SSE_INTRINSICS(3)Defined if (and only if) the compiler supports Intel SSE intrinsics.✨
- SDL_stack_alloc(3)Allocate memory on the stack (maybe).✨
- SDL_stack_free(3)Free memory previously allocated with SDL_stack_alloc.✨
- SDL_STANDARD_GRAVITY(3)A constant to represent standard gravity for accelerometer sensors.✨
- SDL_StartTextInput(3)Start accepting Unicode text input events in a window.✨
- SDL_StartTextInputWithProperties(3)Start accepting Unicode text input events in a window, with properties describing the input.✨
- SDL_static_cast(3)Handle a Static Cast properly whether using C or C++.✨
- SDL_StepBackUTF8(3)Decode a UTF-8 string in reverse, one Unicode codepoint at a time.✨
- SDL_StepUTF8(3)Decode a UTF-8 string, one Unicode codepoint at a time.✨
- SDL_StopHapticEffect(3)Stop the haptic effect on its associated haptic device.✨
- SDL_StopHapticEffects(3)Stop all the currently playing effects on a haptic device.✨
- SDL_StopHapticRumble(3)Stop the simple rumble on a haptic device.✨
- SDL_StopTextInput(3)Stop receiving any text input events in a window.✨
- SDL_Storage(3type)An abstract interface for filesystem access.✨
- SDL_StorageInterface(3type)Function interface for SDL_Storage.✨
- SDL_StorageReady(3)Checks if the storage container is ready to use.✨
- SDL_strcasecmp(3)Compare two null-terminated UTF-8 strings, case- insensitively.✨
- SDL_strcasestr(3)Search a UTF-8 string for the first instance of a specific substring, case-insensitively.✨
- SDL_strchr(3)Search a string for the first instance of a specific byte.✨
- SDL_strcmp(3)Compare two null-terminated UTF-8 strings.✨
- SDL_strdup(3)Allocate a copy of a string.✨
- SDL_StretchSurface(3)Perform a stretched pixel copy from one surface to another.✨
- SDL_STRINGIFY_ARG(3)Macro useful for building other macros with strings in them.✨
- SDL_StringToGUID(3)Convert a GUID string into a SDL_GUID structure.✨
- SDL_strlcat(3)Concatenate strings.✨
- SDL_strlcpy(3)Copy a string.✨
- SDL_strlen(3)This works exactly like strlen() but doesn't require access to a C runtime.✨
- SDL_strlwr(3)Convert a string to lowercase.✨
- SDL_strncasecmp(3)Compare two UTF-8 strings, case-insensitively, up to a number of bytes.✨
- SDL_strncmp(3)Compare two UTF-8 strings up to a number of bytes.✨
- SDL_strndup(3)Allocate a copy of a string, up to n characters.✨
- SDL_strnlen(3)This works exactly like strnlen() but doesn't require access to a C runtime.✨
- SDL_strnstr(3)Search a string, up to n bytes, for the first instance of a specific substring.✨
- SDL_strpbrk(3)Searches a string for the first occurrence of any character contained in a breakset, and returns a pointer from the string to that character.✨
- SDL_strrchr(3)Search a string for the last instance of a specific byte.✨
- SDL_strrev(3)Reverse a string's contents.✨
- SDL_strstr(3)Search a string for the first instance of a specific substring.✨
- SDL_strtod(3)Parse a double from a string.✨
- SDL_strtok_r(3)This works exactly like strtok_r() but doesn't require access to a C runtime.✨
- SDL_strtol(3)Parse a long from a string.✨
- SDL_strtoll(3)Parse a long long from a string.✨
- SDL_strtoul(3)Parse an unsigned long from a string.✨
- SDL_strtoull(3)Parse an unsigned long long from a string.✨
- SDL_strupr(3)Convert a string to uppercase.✨
- SDL_SubmitGPUCommandBuffer(3)Submits a command buffer so its commands can be processed on the GPU.✨
- SDL_SubmitGPUCommandBufferAndAcquireFence(3)Submits a command buffer so its commands can be processed on the GPU, and acquires a fence associated with the command buffer.✨
- SDL_Surface(3)Graphical Surface Structure✨
- SDL_Surface(3type)A collection of pixels used in software blitting.✨
- SDL_SurfaceFlags(3type)The flags on an SDL_Surface.✨
- SDL_SurfaceHasAlternateImages(3)Return whether a surface has alternate versions available.✨
- SDL_SurfaceHasColorKey(3)Returns whether the surface has a color key.✨
- SDL_SurfaceHasRLE(3)Returns whether the surface is RLE enabled.✨
- SDL_Swap16(3)Byte-swap an unsigned 16-bit number.✨
- SDL_Swap16BE(3)Swap a 16-bit value from bigendian to native byte order.✨
- SDL_Swap16LE(3)Swap a 16-bit value from littleendian to native byte order.✨
- SDL_Swap32(3)Byte-swap an unsigned 32-bit number.✨
- SDL_Swap32BE(3)Swap a 32-bit value from bigendian to native byte order.✨
- SDL_Swap32LE(3)Swap a 32-bit value from littleendian to native byte order.✨
- SDL_Swap64(3)Byte-swap an unsigned 64-bit number.✨
- SDL_Swap64BE(3)Swap a 64-bit value from bigendian to native byte order.✨
- SDL_Swap64LE(3)Swap a 64-bit value from littleendian to native byte order.✨
- SDL_SwapFloat(3)Byte-swap a floating point number.✨
- SDL_SwapFloatBE(3)Swap a floating point value from bigendian to native byte order.✨
- SDL_SwapFloatLE(3)Swap a floating point value from littleendian to native byte order.✨
- SDL_swprintf(3)This works exactly like swprintf() but doesn't require access to a C runtime.✨
- SDL_SyncWindow(3)Block until any pending window state is finalized.✨
- SDL_SystemCursor(3type)Cursor types for SDL_CreateSystemCursor().✨
- SDL_SystemTheme(3type)System theme.✨
- SDL_SysWMEvent(3)Platform-dependent window manager event.✨
- SDL_tan(3)Compute the tangent of x.✨
- SDL_tanf(3)Compute the tangent of x.✨
- SDL_TARGETING(3)A macro to tag a function as targeting a specific CPU architecture.✨
- SDL_TellIO(3)Determine the current read/write offset in an SDL_IOStream data stream.✨
- SDL_TextEditingCandidatesEvent(3type)Keyboard IME candidates event structure (event.edit_candidates.*)✨
- SDL_TextEditingEvent(3type)Keyboard text editing event structure (event.edit.*)✨
- SDL_TextInputActive(3)Check whether or not Unicode text input events are enabled for a window.✨
- SDL_TextInputEvent(3type)Keyboard text input event structure (event.text.*)✨
- SDL_TextInputType(3type)Text input type.✨
- SDL_Texture(3type)An efficient driver-specific representation of pixel data✨
- SDL_TextureAccess(3type)The access pattern allowed for a texture.✨
- SDL_TextureAddressMode(3type)The addressing mode for a texture when used in SDL_RenderGeometry().✨
- SDL_Thread(3type)The SDL thread object.✨
- SDL_THREAD_ANNOTATION_ATTRIBUTE__(3)Enable thread safety attributes, only with clang.✨
- SDL_ThreadFunction(3type)The function passed to SDL_CreateThread() as the new thread's entry point.✨
- SDL_ThreadID(3)Get the 32-bit thread identifier for the current thread.✨
- SDL_ThreadID(3type)A unique numeric ID that identifies a thread.✨
- SDL_ThreadPriority(3type)The SDL thread priority.✨
- SDL_ThreadState(3type)The SDL thread state.✨
- SDL_Time(3type)SDL times are signed, 64-bit integers representing nanoseconds since the Unix epoch (Jan 1, 1970).✨
- SDL_TimeFormat(3type)The preferred time format of the current system locale.✨
- SDL_TimeFromWindows(3)Converts a Windows FILETIME (100-nanosecond intervals since January 1, 1601) to an SDL time.✨
💅
getting it ready, bestie…