FcConfigSetRescanInterval(3)

πŸ’… FcConfigSetRescanInterval(3) β€” like, the fontconfig rescan interval situation πŸŽ€

okay bestie, welcome to FcConfigSetRescanInterval(3), a fontconfig manual page and honestly a little cutie. she's short, she's sweet, she controls how often fontconfig wakes up and checks stuff. let's get into it ✨


🌸 NAME 🌸

FcConfigSetRescanInterval β€” sets the config rescan interval. that's it, that's the whole gig 🫢


✨ SYNOPSIS ✨

#include <fontconfig/fontconfig.h>

FcBool FcConfigSetRescanInterval (FcConfig *config, int rescanInterval);

look at her go. one include, one function, zero drama πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this sets the rescan interval. like, the interval for rescanning. iconic behavior tbh.

it returns FcFalse if the interval can't be set β€” and the reason for that is an allocation failure (yes, the malloc-adjacent heartbreak 😭). otherwise it returns FcTrue, and we love that for us πŸ‘‘

an interval setting of zero disables automatic checks entirely. no automatic checks. none. she's off duty πŸ’€

and if config is NULL, the current configuration is used. default queen behavior, no notes πŸ’…

ngl, keep the NULL thing in mind β€” it's not an error, it's just "use whatever config is current" πŸŽ€

🌈 a lil sign-off 🌈

this page is brought to you by Fontconfig 2.17.0, dated 27 June 2025 β€” FcConfigSetRescanInterval(3), slaying in a terminal near you since forever πŸ§šβ­πŸ’œ

πŸ“¦ where this page comes from