section 3 · Library functions 📚
178720 pages · page 651 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_MS_TO_NS(3)Convert milliseconds to nanoseconds.✨
- SDL_murmur3_32(3)Calculate a 32-bit MurmurHash3 value for a block of data.✨
- SDL_MUSTLOCK(3)Evaluates to true if the surface needs to be locked before access.✨
- SDL_Mutex(3type)A means to serialize access to a resource between threads.✨
- SDL_mutexP(3)Lock a mutex✨
- SDL_mutexV(3)Unlock a mutex✨
- SDL_NEON_INTRINSICS(3)Defined if (and only if) the compiler supports ARM NEON intrinsics.✨
- SDL_NET_MAJOR_VERSION(3)The current major version of the SDL_net headers.✨
- SDL_NET_MICRO_VERSION(3)The current micro (or patchlevel) version of the SDL_net headers.✨
- SDL_NET_MINOR_VERSION(3)The current minor version of the SDL_net headers.✨
- SDL_NET_VERSION(3)This is the version number macro for the current SDL_net version.✨
- SDL_NET_VERSION_ATLEAST(3)This macro will evaluate to true if compiled with SDL_net at least X.Y.Z.✨
- SDL_NO_THREAD_SAFETY_ANALYSIS(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_NODISCARD(3)A macro to tag a function's return value as critical.✨
- SDL_NOLONGLONG(3)Don't let SDL use "long long" C types.✨
- SDL_NORETURN(3)A macro to tag a function as never-returning.✨
- SDL_NS_PER_MS(3)Number of nanoseconds in a millisecond.✨
- SDL_NS_PER_SECOND(3)Number of nanoseconds in a second.✨
- SDL_NS_PER_US(3)Number of nanoseconds in a microsecond.✨
- SDL_NS_TO_MS(3)Convert nanoseconds to milliseconds.✨
- SDL_NS_TO_SECONDS(3)Convert nanoseconds to seconds.✨
- SDL_NS_TO_US(3)Convert nanoseconds to microseconds.✨
- SDL_NSTimerCallback(3type)Function prototype for the nanosecond timer callback function.✨
- SDL_NULL_WHILE_LOOP_CONDITION(3)A macro for wrapping code in do {} while (0); without compiler warnings.✨
- SDL_NumJoysticks(3)Count available joysticks.✨
- SDL_OnApplicationDidChangeStatusBarOrientation(3)Let iOS apps with external event handling report onApplicationDidChangeStatusBarOrientation.✨
- SDL_OnApplicationDidEnterBackground(3)Let iOS apps with external event handling report onApplicationDidEnterBackground.✨
- SDL_OnApplicationDidEnterForeground(3)Let iOS apps with external event handling report onApplicationDidBecomeActive.✨
- SDL_OnApplicationDidReceiveMemoryWarning(3)Let iOS apps with external event handling report onApplicationDidReceiveMemoryWarning.✨
- SDL_OnApplicationWillEnterBackground(3)Let iOS apps with external event handling report onApplicationWillResignActive.✨
- SDL_OnApplicationWillEnterForeground(3)Let iOS apps with external event handling report onApplicationWillEnterForeground.✨
- SDL_OnApplicationWillTerminate(3)Let iOS apps with external event handling report onApplicationWillTerminate.✨
- SDL_OpenAudio(3)Opens the audio device with the desired parameters.✨
- SDL_OpenAudioDevice(3)Open a specific audio device.✨
- SDL_OpenAudioDeviceStream(3)Convenience function for straightforward audio init for the common case.✨
- SDL_OpenCamera(3)Open a video recording device (a "camera").✨
- SDL_OpenFileStorage(3)Opens up a container for local filesystem storage.✨
- SDL_OpenGamepad(3)Open a gamepad for use.✨
- SDL_OpenHaptic(3)Open a haptic device for use.✨
- SDL_OpenHapticFromJoystick(3)Open a haptic device for use from a joystick device.✨
- SDL_OpenHapticFromMouse(3)Try to open a haptic device from the current mouse.✨
- SDL_OpenIO(3)Create a custom SDL_IOStream.✨
- SDL_OpenJoystick(3)Open a joystick for use.✨
- SDL_OpenSensor(3)Open a sensor for use.✨
- SDL_OpenStorage(3)Opens up a container using a client-provided storage interface.✨
- SDL_OpenTitleStorage(3)Opens up a read-only container for the application's filesystem.✨
- SDL_OpenURL(3)Open a URL/URI in the browser or other appropriate external application.✨
- SDL_OpenUserStorage(3)Opens up a container for a user's unique read/write filesystem.✨
- SDL_OUT_BYTECAP(3)Macro that annotates function params with output buffer size.✨
- SDL_OUT_CAP(3)Macro that annotates function params with output buffer size.✨
- SDL_OUT_Z_BYTECAP(3)Macro that annotates function params with output buffer string size.✨
- SDL_OUT_Z_CAP(3)Macro that annotates function params with output string buffer size.✨
- SDL_OutOfMemory(3)Set an error indicating that memory allocation failed.✨
- SDL_Overlay(3)YUV video overlay✨
- SDL_PackedLayout(3type)Packed component layout.✨
- SDL_PackedOrder(3type)Packed component order, high bit -> low bit.✨
- SDL_Palette(3)Color palette for 8-bit pixel formats✨
- SDL_Palette(3type)A set of indexed colors representing a palette.✨
- SDL_PathInfo(3type)Information about a path on the filesystem.✨
- SDL_PathType(3type)Types of filesystem entries.✨
- SDL_PauseAudio(3)Pauses and unpauses the audio callback processing✨
- SDL_PauseAudioDevice(3)Use this function to pause audio playback on a specified device.✨
- SDL_PauseAudioStreamDevice(3)Use this function to pause audio playback on the audio device associated with an audio stream.✨
- SDL_PauseHaptic(3)Pause a haptic device.✨
- SDL_PeepEvents(3)Check the event queue for messages and optionally return them.✨
- SDL_PEN_MOUSEID(3)The SDL_MouseID for mouse events simulated with pen input.✨
- SDL_PEN_TOUCHID(3)The SDL_TouchID for touch events simulated with pen input.✨
- SDL_PenAxis(3type)Pen axis indices.✨
- SDL_PenAxisEvent(3type)Pressure-sensitive pen pressure / angle event structure (event.paxis.*)✨
- SDL_PenButtonEvent(3type)Pressure-sensitive pen button event structure (event.pbutton.*)✨
- SDL_PenDeviceType(3type)An enum that describes the type of a pen device.✨
- SDL_PenID(3type)SDL pen instance IDs.✨
- SDL_PenInputFlags(3type)Pen input flags, as reported by various pen events' pen_state field.✨
- SDL_PenMotionEvent(3type)Pressure-sensitive pen motion event structure (event.pmotion.*)✨
- SDL_PenProximityEvent(3type)Pressure-sensitive pen proximity event structure (event.pproximity.*)✨
- SDL_PenTouchEvent(3type)Pressure-sensitive pen touched event structure (event.ptouch.*)✨
- SDL_PI_D(3)The value of Pi, as a double-precision floating point literal.✨
- SDL_PI_F(3)The value of Pi, as a single-precision floating point literal.✨
- SDL_PinchFingerEvent(3type)Pinch event structure (event.pinch.*)✨
- SDL_PIXELFLAG(3)A macro to retrieve the flags of an SDL_PixelFormat.✨
- SDL_PixelFormat(3)Stores surface format information✨
- SDL_PixelFormat(3type)Pixel format.✨
- SDL_PixelFormatDetails(3type)Details about the format of a pixel.✨
- SDL_PIXELLAYOUT(3)A macro to retrieve the layout of an SDL_PixelFormat.✨
- SDL_PIXELORDER(3)A macro to retrieve the order of an SDL_PixelFormat.✨
- SDL_PIXELTYPE(3)A macro to retrieve the type of an SDL_PixelFormat.✨
- SDL_PixelType(3type)Pixel type.✨
- SDL_PLATFORM_3DS(3)A preprocessor macro that is only defined if compiling for Nintendo 3DS.✨
- SDL_PLATFORM_AIX(3)A preprocessor macro that is only defined if compiling for AIX.✨
- SDL_PLATFORM_ANDROID(3)A preprocessor macro that is only defined if compiling for Android.✨
- SDL_PLATFORM_APPLE(3)A preprocessor macro that is only defined if compiling for Apple platforms.✨
- SDL_PLATFORM_BSDI(3)A preprocessor macro that is only defined if compiling for BSDi✨
- SDL_PLATFORM_CYGWIN(3)A preprocessor macro that is only defined if compiling for Cygwin.✨
- SDL_PLATFORM_EMSCRIPTEN(3)A preprocessor macro that is only defined if compiling for Emscripten.✨
- SDL_PLATFORM_FREEBSD(3)A preprocessor macro that is only defined if compiling for FreeBSD.✨
- SDL_PLATFORM_GDK(3)A preprocessor macro that is only defined if compiling for Microsoft GDK on any platform.✨
- SDL_PLATFORM_HAIKU(3)A preprocessor macro that is only defined if compiling for Haiku OS.✨
- SDL_PLATFORM_HPUX(3)A preprocessor macro that is only defined if compiling for HP-UX.✨
- SDL_PLATFORM_HURD(3)A preprocessor macro that is only defined if compiling for GNU/Hurd.✨
- SDL_PLATFORM_IOS(3)A preprocessor macro that is only defined if compiling for iOS or visionOS.✨
- SDL_PLATFORM_IRIX(3)A preprocessor macro that is only defined if compiling for IRIX.✨
- SDL_PLATFORM_LINUX(3)A preprocessor macro that is only defined if compiling for Linux.✨
- SDL_PLATFORM_MACOS(3)A preprocessor macro that is only defined if compiling for macOS.✨
- SDL_PLATFORM_NETBSD(3)A preprocessor macro that is only defined if compiling for NetBSD.✨
- SDL_PLATFORM_NGAGE(3)A preprocessor macro that is only defined if compiling for the Nokia N-Gage.✨
- SDL_PLATFORM_OPENBSD(3)A preprocessor macro that is only defined if compiling for OpenBSD.✨
- SDL_PLATFORM_OS2(3)A preprocessor macro that is only defined if compiling for OS/2.✨
- SDL_PLATFORM_OSF(3)A preprocessor macro that is only defined if compiling for Tru64 (OSF/1).✨
- SDL_PLATFORM_PS2(3)A preprocessor macro that is only defined if compiling for Sony PlayStation 2.✨
- SDL_PLATFORM_PSP(3)A preprocessor macro that is only defined if compiling for Sony PSP.✨
- SDL_PLATFORM_QNXNTO(3)A preprocessor macro that is only defined if compiling for QNX Neutrino.✨
- SDL_PLATFORM_RISCOS(3)A preprocessor macro that is only defined if compiling for RISC OS.✨
- SDL_PLATFORM_SOLARIS(3)A preprocessor macro that is only defined if compiling for SunOS/Solaris.✨
- SDL_PLATFORM_TVOS(3)A preprocessor macro that is only defined if compiling for tvOS.✨
- SDL_PLATFORM_UNIX(3)A preprocessor macro that is only defined if compiling for a Unix-like system.✨
- SDL_PLATFORM_VISIONOS(3)A preprocessor macro that is only defined if compiling for visionOS.✨
- SDL_PLATFORM_VITA(3)A preprocessor macro that is only defined if compiling for Sony Vita.✨
- SDL_PLATFORM_WIN32(3)A preprocessor macro that is only defined if compiling for desktop Windows.✨
- SDL_PLATFORM_WINDOWS(3)A preprocessor macro that is only defined if compiling for Windows.✨
- SDL_PLATFORM_WINGDK(3)A preprocessor macro that is only defined if compiling for Microsoft GDK for Windows.✨
- SDL_PLATFORM_XBOXONE(3)A preprocessor macro that is only defined if compiling for Xbox One.✨
- SDL_PLATFORM_XBOXSERIES(3)A preprocessor macro that is only defined if compiling for Xbox Series.✨
- SDL_PlayHapticRumble(3)Run a simple rumble effect on a haptic device.✨
- SDL_Point(3type)The structure that defines a point (using integers).✨
- SDL_PointInRect(3)Determine whether a point resides inside a rectangle.✨
- SDL_PointInRectFloat(3)Determine whether a point resides inside a floating point rectangle.✨
- SDL_PollEvent(3)Poll for currently pending events.✨
- SDL_PopGPUDebugGroup(3)Ends the most-recently pushed debug group.✨
- SDL_pow(3)Raise x to the power y✨
- SDL_PowerState(3type)The basic state for the system's power supply.✨
- SDL_powf(3)Raise x to the power y✨
- SDL_PremultiplyAlpha(3)Premultiply the alpha on a block of pixels.✨
- SDL_PremultiplySurfaceAlpha(3)Premultiply the alpha in a surface.✨
- SDL_PRILL_PREFIX(3)A printf-formatting string prefix for a long long value.✨
- SDL_PRILLd(3)A printf-formatting string for a long long value.✨
- SDL_PRILLu(3)A printf-formatting string for a unsigned long long value.✨
- SDL_PRILLX(3)A printf-formatting string for an unsigned long long value as upper-case hexadecimal.✨
- SDL_PRILLx(3)A printf-formatting string for an unsigned long long value as lower-case hexadecimal.✨
- SDL_PRINTF_FORMAT_STRING(3)Macro that annotates function params as printf-style format strings.✨
- SDL_PRINTF_VARARG_FUNC(3)Macro that annotates a vararg function that operates like printf.✨
- SDL_PRINTF_VARARG_FUNCV(3)Macro that annotates a va_list function that operates like printf.✨
- SDL_PRIs32(3)A printf-formatting string for an Sint32 value.✨
- SDL_PRIs64(3)A printf-formatting string for an Sint64 value.✨
- SDL_PRIu32(3)A printf-formatting string for a Uint32 value.✨
- SDL_PRIu64(3)A printf-formatting string for a Uint64 value.✨
- SDL_PRIX32(3)A printf-formatting string for a Uint32 value as upper-case hexadecimal.✨
- SDL_PRIx32(3)A printf-formatting string for a Uint32 value as lower-case hexadecimal.✨
- SDL_PRIX64(3)A printf-formatting string for a Uint64 value as upper-case hexadecimal.✨
- SDL_PRIx64(3)A printf-formatting string for a Uint64 value as lower-case hexadecimal.✨
- SDL_Process(3type)An opaque handle representing a system process.✨
- SDL_ProcessIO(3type)Description of where standard I/O should be directed when creating a process.✨
- SDL_ProgressState(3type)Window progress state✨
- SDL_PROP_GLOBAL_VIDEO_WAYLAND_WL_DISPLAY_POINTER(3)The pointer to the global wl_display object used by the Wayland video backend.✨
- SDL_PROP_NAME_STRING(3)A generic property for naming things.✨
- SDL_PropertiesID(3type)An ID that represents a properties set.✨
- SDL_PropertyType(3type)SDL property type✨
- SDL_PT_GUARDED_BY(3)Wrapper around Clang thread safety analysis annotations.✨
- SDL_PumpEvents(3)Pump the event loop, gathering events from the input devices.✨
- SDL_PushEvent(3)Add an event to the event queue.✨
- SDL_PushGPUComputeUniformData(3)Pushes data to a uniform slot on the command buffer.✨
- SDL_PushGPUDebugGroup(3)Begins a debug group with an arbitrary name.✨
- SDL_PushGPUFragmentUniformData(3)Pushes data to a fragment uniform slot on the command buffer.✨
- SDL_PushGPUVertexUniformData(3)Pushes data to a vertex uniform slot on the command buffer.✨
- SDL_PutAudioStreamData(3)Add data to the stream.✨
- SDL_PutAudioStreamDataNoCopy(3)Add external data to an audio stream without copying it.✨
- SDL_PutAudioStreamPlanarData(3)Add data to the stream with each channel in a separate array.✨
- SDL_qsort(3)Sort an array.✨
- SDL_qsort_r(3)Sort an array, passing a userdata pointer to the compare function.✨
- SDL_QueryGPUFence(3)Checks the status of a fence.✨
- SDL_Quit(3)Clean up all initialized subsystems.✨
- SDL_QuitEvent(3)Quit requested event✨
- SDL_QuitEvent(3type)The "quit requested" event✨
- SDL_QuitSubSystem(3)Shut down specific SDL subsystems.✨
- SDL_RaiseWindow(3)Request that a window be raised above other windows and gain the input focus.✨
- SDL_rand(3)Generate a pseudo-random number less than n for positive n✨
- SDL_rand_bits(3)Generate 32 pseudo-random bits.✨
- SDL_rand_bits_r(3)Generate 32 pseudo-random bits.✨
- SDL_rand_r(3)Generate a pseudo-random number less than n for positive n✨
- SDL_randf(3)Generate a uniform pseudo-random floating point number less than 1.0✨
- SDL_randf_r(3)Generate a uniform pseudo-random floating point number less than 1.0✨
- SDL_ReadAsyncIO(3)Start an async read.✨
- SDL_ReadIO(3)Read from a data source.✨
- SDL_ReadProcess(3)Read all the output from a process.✨
- SDL_ReadS16BE(3)Use this function to read 16 bits of big-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadS16LE(3)Use this function to read 16 bits of little-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadS32BE(3)Use this function to read 32 bits of big-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadS32LE(3)Use this function to read 32 bits of little-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadS64BE(3)Use this function to read 64 bits of big-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadS64LE(3)Use this function to read 64 bits of little-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadS8(3)Use this function to read a signed byte from an SDL_IOStream.✨
- SDL_ReadStorageFile(3)Synchronously read a file from a storage container into a client-provided buffer.✨
- SDL_ReadSurfacePixel(3)Retrieves a single pixel from a surface.✨
- SDL_ReadSurfacePixelFloat(3)Retrieves a single pixel from a surface.✨
- SDL_ReadU16BE(3)Use this function to read 16 bits of big-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadU16LE(3)Use this function to read 16 bits of little-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadU32BE(3)Use this function to read 32 bits of big-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadU32LE(3)Use this function to read 32 bits of little-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadU64BE(3)Use this function to read 64 bits of big-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadU64LE(3)Use this function to read 64 bits of little-endian data from an SDL_IOStream and return in native format.✨
- SDL_ReadU8(3)Use this function to read a byte from an SDL_IOStream.✨
💅
getting it ready, bestie…