section 3 · Library functions 📚
178720 pages · page 652 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_realloc(3)Change the size of allocated memory.✨
- SDL_realloc_func(3type)A callback used to implement SDL_realloc().✨
- SDL_Rect(3)Defines a rectangular area✨
- SDL_Rect(3type)A rectangle, with the origin at the upper left (using integers).✨
- SDL_RectEmpty(3)Determine whether a rectangle has no area.✨
- SDL_RectEmptyFloat(3)Determine whether a floating point rectangle takes no space.✨
- SDL_RectsEqual(3)Determine whether two rectangles are equal.✨
- SDL_RectsEqualEpsilon(3)Determine whether two floating point rectangles are equal, within some given epsilon.✨
- SDL_RectsEqualFloat(3)Determine whether two floating point rectangles are equal, within a default epsilon.✨
- SDL_RectToFRect(3)Convert an SDL_Rect to SDL_FRect✨
- SDL_RegisterApp(3)Register a win32 window class for SDL's use.✨
- SDL_RegisterEvents(3)Allocate a set of user-defined events, and return the beginning event number for that set of events.✨
- SDL_reinterpret_cast(3)Handle a Reinterpret Cast properly whether using C or C++.✨
- SDL_RELEASE(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_RELEASE_GENERIC(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_RELEASE_SHARED(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_ReleaseCameraFrame(3)Release a frame of video acquired from a camera.✨
- SDL_ReleaseGPUBuffer(3)Frees the given buffer as soon as it is safe to do so.✨
- SDL_ReleaseGPUComputePipeline(3)Frees the given compute pipeline as soon as it is safe to do so.✨
- SDL_ReleaseGPUFence(3)Releases a fence obtained from SDL_SubmitGPUCommandBufferAndAcquireFence.✨
- SDL_ReleaseGPUGraphicsPipeline(3)Frees the given graphics pipeline as soon as it is safe to do so.✨
- SDL_ReleaseGPUSampler(3)Frees the given sampler as soon as it is safe to do so.✨
- SDL_ReleaseGPUShader(3)Frees the given shader as soon as it is safe to do so.✨
- SDL_ReleaseGPUTexture(3)Frees the given texture as soon as it is safe to do so.✨
- SDL_ReleaseGPUTransferBuffer(3)Frees the given transfer buffer as soon as it is safe to do so.✨
- SDL_ReleaseWindowFromGPUDevice(3)Unclaims a window, destroying its swapchain structure.✨
- SDL_ReloadGamepadMappings(3)Reinitialize the SDL mapping database to its initial state.✨
- SDL_RemoveEventWatch(3)Remove an event watch callback added with SDL_AddEventWatch().✨
- SDL_RemoveHintCallback(3)Remove a function watching a particular hint.✨
- SDL_RemovePath(3)Remove a file or an empty directory.✨
- SDL_RemoveStoragePath(3)Remove a file or an empty directory in a writable storage container.✨
- SDL_RemoveSurfaceAlternateImages(3)Remove all alternate versions of a surface.✨
- SDL_RemoveTimer(3)Remove a timer created with SDL_AddTimer().✨
- SDL_RemoveTrayEntry(3)Removes a tray entry.✨
- SDL_RenamePath(3)Rename a file or directory.✨
- SDL_RenameStoragePath(3)Rename a file or directory in a writable storage container.✨
- SDL_RenderClear(3)Clear the current rendering target with the drawing color.✨
- SDL_RenderClipEnabled(3)Get whether clipping is enabled on the given render target.✨
- SDL_RenderCoordinatesFromWindow(3)Get a point in render coordinates when given a point in window coordinates.✨
- SDL_RenderCoordinatesToWindow(3)Get a point in window coordinates when given a point in render coordinates.✨
- SDL_RenderDebugText(3)Draw debug text to an SDL_Renderer.✨
- SDL_RenderDebugTextFormat(3)Draw debug text to an SDL_Renderer.✨
- SDL_Renderer(3type)A structure representing rendering state✨
- SDL_RendererLogicalPresentation(3type)How the logical size is mapped to the output.✨
- SDL_RenderEvent(3type)Renderer event structure (event.render.*)✨
- SDL_RenderFillRect(3)Fill a rectangle on the current rendering target with the drawing color at subpixel precision.✨
- SDL_RenderFillRects(3)Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.✨
- SDL_RenderGeometry(3)Render a list of triangles, optionally using a texture and indices into the vertex array Color and alpha modulation is done per vertex (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).✨
- SDL_RenderGeometryRaw(3)Render a list of triangles, optionally using a texture and indices into the vertex arrays Color and alpha modulation is done per vertex (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).✨
- SDL_RenderLine(3)Draw a line on the current rendering target at subpixel precision.✨
- SDL_RenderLines(3)Draw a series of connected lines on the current rendering target at subpixel precision.✨
- SDL_RenderPoint(3)Draw a point on the current rendering target at subpixel precision.✨
- SDL_RenderPoints(3)Draw multiple points on the current rendering target at subpixel precision.✨
- SDL_RenderPresent(3)Update the screen with any rendering performed since the previous call.✨
- SDL_RenderReadPixels(3)Read pixels from the current rendering target.✨
- SDL_RenderRect(3)Draw a rectangle on the current rendering target at subpixel precision.✨
- SDL_RenderRects(3)Draw some number of rectangles on the current rendering target at subpixel precision.✨
- SDL_RenderTexture(3)Copy a portion of the texture to the current rendering target at subpixel precision.✨
- SDL_RenderTexture9Grid(3)Perform a scaled copy using the 9-grid algorithm to the current rendering target at subpixel precision.✨
- SDL_RenderTexture9GridTiled(3)Perform a scaled copy using the 9-grid algorithm to the current rendering target at subpixel precision.✨
- SDL_RenderTextureAffine(3)Copy a portion of the source texture to the current rendering target, with affine transform, at subpixel precision.✨
- SDL_RenderTextureRotated(3)Copy a portion of the source texture to the current rendering target, with rotation and flipping, at subpixel precision.✨
- SDL_RenderTextureTiled(3)Tile a portion of the texture to the current rendering target at subpixel precision.✨
- SDL_RenderViewportSet(3)Return whether an explicit rectangle was set as the viewport.✨
- SDL_ReportAssertion(3)Never call this directly.✨
- SDL_RequestAndroidPermission(3)Request permissions at runtime, asynchronously.✨
- SDL_RequestAndroidPermissionCallback(3type)Callback that presents a response from a SDL_RequestAndroidPermission call.✨
- SDL_REQUIRES(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_REQUIRES_SHARED(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_ResetAssertionReport(3)Clear the list of all assertion failures.✨
- SDL_ResetHint(3)Reset a hint to the default value.✨
- SDL_ResetHints(3)Reset all hints to the default values.✨
- SDL_ResetKeyboard(3)Clear the state of the keyboard.✨
- SDL_ResetLogPriorities(3)Reset all priorities to default.✨
- SDL_ResizeEvent(3)Window resize event structure✨
- SDL_RestoreWindow(3)Request that the size and position of a minimized or maximized window be restored.✨
- SDL_RESTRICT(3)A macro to tag a pointer variable, to help with pointer aliasing.✨
- SDL_ResumeAudioDevice(3)Use this function to unpause audio playback on a specified device.✨
- SDL_ResumeAudioStreamDevice(3)Use this function to unpause audio playback on the audio device associated with an audio stream.✨
- SDL_ResumeHaptic(3)Resume a haptic device.✨
- SDL_RETURN_CAPABILITY(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_REVISION(3)This macro is a string describing the source at a particular point in development.✨
- SDL_RotateSurface(3)Return a copy of a surface rotated clockwise a number of degrees.✨
- SDL_round(3)Round x to the nearest integer.✨
- SDL_roundf(3)Round x to the nearest integer.✨
- SDL_RumbleGamepad(3)Start a rumble effect on a gamepad.✨
- SDL_RumbleGamepadTriggers(3)Start a rumble effect in the gamepad's triggers.✨
- SDL_RumbleJoystick(3)Start a rumble effect.✨
- SDL_RumbleJoystickTriggers(3)Start a rumble effect in the joystick's triggers.✨
- SDL_RunApp(3)Initializes and launches an SDL application, by doing platform-specific initialization before calling your mainFunction and cleanups after it returns, if that is needed for a specific platform…✨
- SDL_RunHapticEffect(3)Run the haptic effect on its associated haptic device.✨
- SDL_RunOnMainThread(3)Call a function on the main thread during event processing.✨
- SDL_RWFromFile(3)Short description of function✨
- SDL_RWLock(3type)A mutex that allows read-only threads to run in parallel.✨
- SDL_Sandbox(3type)Application sandbox environment.✨
- SDL_SaveBMP(3)Save a surface to a file in BMP format.✨
- SDL_SaveBMP_IO(3)Save a surface to a seekable SDL data stream in BMP format.✨
- SDL_SaveFile(3)Save all the data into a file path.✨
- SDL_SaveFile_IO(3)Save all the data into an SDL data stream.✨
- SDL_SavePNG(3)Save a surface to a file in PNG format.✨
- SDL_SavePNG_IO(3)Save a surface to a seekable SDL data stream in PNG format.✨
- SDL_scalbn(3)Scale x by an integer power of two.✨
- SDL_scalbnf(3)Scale x by an integer power of two.✨
- SDL_ScaleMode(3type)The scaling mode.✨
- SDL_ScaleSurface(3)Creates a new surface identical to the existing surface, scaled to the desired size.✨
- SDL_Scancode(3type)The SDL keyboard scancode representation.✨
- SDL_SCANF_FORMAT_STRING(3)Macro that annotates function params as scanf- style format strings.✨
- SDL_SCANF_VARARG_FUNC(3)Macro that annotates a vararg function that operates like scanf.✨
- SDL_SCANF_VARARG_FUNCV(3)Macro that annotates a va_list function that operates like scanf.✨
- SDL_SCOPED_CAPABILITY(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_ScreenKeyboardShown(3)Check whether the screen keyboard is shown for given window.✨
- SDL_ScreenSaverEnabled(3)Check whether the screensaver is currently enabled.✨
- SDL_SECONDS_TO_NS(3)Convert seconds to nanoseconds.✨
- SDL_SeekIO(3)Seek within an SDL_IOStream data stream.✨
- SDL_Semaphore(3type)A means to manage access to a resource, by count, between threads.✨
- SDL_SemPost(3)Unlock a semaphore.✨
- SDL_SemTryWait(3)Attempt to lock a semaphore but don't suspend the thread.✨
- SDL_SemValue(3)Return the current value of a semaphore.✨
- SDL_SemWait(3)Lock a semaphore and suspend the thread if the semaphore value is zero.✨
- SDL_SemWaitTimeout(3)Lock a semaphore, but only wait up to a specified maximum time.✨
- SDL_SendAndroidBackButton(3)Trigger the Android system back button behavior.✨
- SDL_SendAndroidMessage(3)Send a user command to SDLActivity.✨
- SDL_SendGamepadEffect(3)Send a gamepad specific effect packet.✨
- SDL_SendJoystickEffect(3)Send a joystick specific effect packet.✨
- SDL_SendJoystickVirtualSensorData(3)Send a sensor update for an opened virtual joystick.✨
- SDL_Sensor(3type)The opaque structure used to identify an opened SDL sensor.✨
- SDL_SensorEvent(3type)Sensor event structure (event.sensor.*)✨
- SDL_SensorID(3type)This is a unique ID for a sensor for the time it is connected to the system, and is never reused for the lifetime of the application.✨
- SDL_SensorType(3type)The different sensors defined by SDL.✨
- SDL_SetAlpha(3)Adjust the alpha properties of a surface✨
- SDL_SetAppMetadata(3)Specify basic metadata about your app.✨
- SDL_SetAppMetadataProperty(3)Specify metadata about your app through a set of properties.✨
- SDL_SetAssertionHandler(3)Set an application-defined assertion handler.✨
- SDL_SetAtomicInt(3)Set an atomic variable to a value.✨
- SDL_SetAtomicPointer(3)Set a pointer to a value atomically.✨
- SDL_SetAtomicU32(3)Set an atomic variable to a value.✨
- SDL_SetAudioDeviceGain(3)Change the gain of an audio device.✨
- SDL_SetAudioPostmixCallback(3)Set a callback that fires when data is about to be fed to an audio device.✨
- SDL_SetAudioStreamFormat(3)Change the input and output formats of an audio stream.✨
- SDL_SetAudioStreamFrequencyRatio(3)Change the frequency ratio of an audio stream.✨
- SDL_SetAudioStreamGain(3)Change the gain of an audio stream.✨
- SDL_SetAudioStreamGetCallback(3)Set a callback that runs when data is requested from an audio stream.✨
- SDL_SetAudioStreamInputChannelMap(3)Set the current input channel map of an audio stream.✨
- SDL_SetAudioStreamOutputChannelMap(3)Set the current output channel map of an audio stream.✨
- SDL_SetAudioStreamPutCallback(3)Set a callback that runs when data is added to an audio stream.✨
- SDL_SetBooleanProperty(3)Set a boolean property in a group of properties.✨
- SDL_SetClipboardData(3)Offer clipboard data to the OS.✨
- SDL_SetClipboardText(3)Put UTF-8 text into the clipboard.✨
- SDL_SetClipRect(3)Sets the clipping rectangle for a surface.✨
- SDL_SetColorKey(3)Sets the color key (transparent pixel) in a blittable surface and RLE acceleration.✨
- SDL_SetColors(3)Sets a portion of the colormap for the given 8-bit surface.✨
- SDL_SetCurrentThreadPriority(3)Set the priority for the current thread.✨
- SDL_SetCursor(3)Set the active cursor.✨
- SDL_SetDefaultTextureScaleMode(3)Set default scale mode for new textures for given renderer.✨
- SDL_setenv_unsafe(3)Set the value of a variable in the environment.✨
- SDL_SetEnvironmentVariable(3)Set the value of a variable in the environment.✨
- SDL_SetError(3)Set the SDL error message for the current thread.✨
- SDL_SetErrorV(3)Set the SDL error message for the current thread.✨
- SDL_SetEventEnabled(3)Set the state of processing events by type.✨
- SDL_SetEventFilter(3)Set up a filter to process all events before they are added to the internal event queue.✨
- SDL_SetFloatProperty(3)Set a floating point property in a group of properties.✨
- SDL_SetGamepadEventsEnabled(3)Set the state of gamepad event processing.✨
- SDL_SetGamepadLED(3)Update a gamepad's LED color.✨
- SDL_SetGamepadMapping(3)Set the current mapping of a joystick or gamepad.✨
- SDL_SetGamepadPlayerIndex(3)Set the player index of an opened gamepad.✨
- SDL_SetGamepadSensorEnabled(3)Set whether data reporting for a gamepad sensor is enabled.✨
- SDL_SetGamma(3)Sets the color gamma function for the display✨
- SDL_SetGammaRamp(3)Sets the color gamma lookup tables for the display✨
- SDL_SetGPUAllowedFramesInFlight(3)Configures the maximum allowed number of frames in flight.✨
- SDL_SetGPUBlendConstants(3)Sets the current blend constants on a command buffer.✨
- SDL_SetGPUBufferName(3)Sets an arbitrary string constant to label a buffer.✨
- SDL_SetGPURenderState(3)Set custom GPU render state.✨
- SDL_SetGPURenderStateFragmentUniforms(3)Set fragment shader uniform variables in a custom GPU render state.✨
- SDL_SetGPUScissor(3)Sets the current scissor state on a command buffer.✨
- SDL_SetGPUStencilReference(3)Sets the current stencil reference value on a command buffer.✨
- SDL_SetGPUSwapchainParameters(3)Changes the swapchain parameters for the given claimed window.✨
- SDL_SetGPUTextureName(3)Sets an arbitrary string constant to label a texture.✨
- SDL_SetGPUViewport(3)Sets the current viewport state on a command buffer.✨
- SDL_SetHapticAutocenter(3)Set the global autocenter of the device.✨
- SDL_SetHapticGain(3)Set the global gain of the specified haptic device.✨
- SDL_SetHint(3)Set a hint with normal priority.✨
- SDL_SetHintWithPriority(3)Set a hint with a specific priority.✨
- SDL_SetInitialized(3)Finish an initialization state transition.✨
- SDL_SetiOSAnimationCallback(3)Use this function to set the animation callback on Apple iOS.✨
- SDL_SetiOSEventPump(3)Use this function to enable or disable the SDL event pump on Apple iOS.✨
- SDL_SetJoystickEventsEnabled(3)Set the state of joystick event processing.✨
- SDL_SetJoystickLED(3)Update a joystick's LED color.✨
- SDL_SetJoystickPlayerIndex(3)Set the player index of an opened joystick.✨
- SDL_SetJoystickVirtualAxis(3)Set the state of an axis on an opened virtual joystick.✨
- SDL_SetJoystickVirtualBall(3)Generate ball motion on an opened virtual joystick.✨
- SDL_SetJoystickVirtualButton(3)Set the state of a button on an opened virtual joystick.✨
- SDL_SetJoystickVirtualHat(3)Set the state of a hat on an opened virtual joystick.✨
- SDL_SetJoystickVirtualTouchpad(3)Set touchpad finger state on an opened virtual joystick.✨
- SDL_SetLinuxThreadPriority(3)Sets the UNIX nice value for a thread.✨
- SDL_SetLinuxThreadPriorityAndPolicy(3)Sets the priority (not nice level) and scheduling policy for a thread.✨
- SDL_SetLogOutputFunction(3)Replace the default log output function with one of your own.✨
- SDL_SetLogPriorities(3)Set the priority of all log categories.✨
- SDL_SetLogPriority(3)Set the priority of a particular log category.✨
- SDL_SetLogPriorityPrefix(3)Set the text prepended to log messages of a given priority.✨
- SDL_SetMainReady(3)Circumvent failure of SDL_Init() when not using SDL_main() as an entry point.✨
💅
getting it ready, bestie…