Package: stb_sprintf-devel (1.10^20260313git904aa67-2.fc43)
Fast sprintf, snprintf for C/C++
This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it’s *much* faster (see below). It’s also much smaller than the CRT versions code-space-wise. We’ve also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define STB_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do its work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K.
Package information
- Homepage
- [https://github.com/nothings/stb]
- License
- MIT OR Unlicense
- Супровідник downstream-пакета
- churchyard, musicObserved Nov 19, 2026 [source]
- Пакет джерела
- [stb]
- Software project
- [libstb]
Versions and downloads for stb_sprintf-devel
About these downloads
Кожен рядок: метадані індексу пакетів для однієї версії, архітектури, набору й репозиторію. Назви, URL і розміри зі джерела; посилання є змінним місцем отримання, не перерозповсюдженням OpenFactory.
Other packages built from stb
- stb_c_lexer-devel
Simplify writing parsers for C-like languages
- stb_connected_components-devel
Incrementally compute reachability on grids
- stb-devel
Development files for stb
- stb_divide-devel
More useful 32-bit modulus e.g. “Euclidean divide”
- stb-doc
Documentation for stb
- stb_ds-devel
Typesafe dynamic array and hash tables for C, will compile in C++
- stb_dxt-devel
Fabian “ryg” Giesen’s real-time DXT compressor
- stb_easy_font-devel
Quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc
- stb_herringbone_wang_tile-devel
Herringbone Wang tile map generator
- stb_hexwave-devel
Audio waveform synthesizer
- stb_image-devel
Image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC
- stb_image_resize2-devel
Resize images larger/smaller with good quality
- stb_image_resize-devel
Resize images larger/smaller with good quality (original version)
- stb_image_write-devel
Image writing to disk: PNG, TGA, BMP
- stb_leakcheck-devel
Quick-and-dirty malloc/free leak-checking
- stb_perlin-devel
Perlin’s revised simplex noise w/ different seeds
- stb_rect_pack-devel
Simple 2D rectangle packer with decent quality
- stb_textedit-devel
Guts of a text editor for games etc., implementing them from scratch
- stb_tilemap_editor-devel
Embeddable tilemap editor
- stb_truetype-devel
Parse, decode, and rasterize characters from TrueType fonts
- stb_vorbis-devel
Decode Ogg Vorbis files from file/memory to float/16-bit signed output
- stb_voxel_render-devel
Helps render large-scale “voxel” worlds for games
Шляхи файлів пакета (5)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/include/stb
- /usr/include/stb_sprintf.h
- /usr/include/stb/stb_sprintf.h
- /usr/share/licenses/stb_sprintf-devel
- /usr/share/licenses/stb_sprintf-devel/LICENSE
Field source: Fedora 43 updates aarch64
