itimerspec(3type)
β¨ NAME β¨
okay so bestie, today's main character is itimerspec(3type) β and she's all about the interval for a timer with nanosecond precision π
β¨
π LIBRARY π
She lives in the Standard C library β that's libc, no cap π
π οΈ SYNOPSIS π οΈ
#include <time.h>
struct itimerspec {
struct timespec it_interval; /* Interval for periodic timer */
struct timespec it_value; /* Initial expiration */
};
the struct is giving two struct timespec fields, and they are:
it_intervalβ Interval for periodic timer β°it_valueβ Initial expiration β³
π DESCRIPTION π
This struct describes the initial expiration of a timer, and its interval, in seconds and nanoseconds. That's the whole vibe: when it first goes off, and how often it keeps going off after that. lowkey iconic π«Ά
π STANDARDS π
POSIX.1-2024. periodt. ππ
π°οΈ HISTORY π°οΈ
She's been around since POSIX.1-1996. a true vintage queen, fr fr π
π SEE ALSO π
mwah π this page came from Linux man-pages 6.20, dated 2026-01-08. stay slay and keep those timers precise, bestie π«Άπβ¨
π¦ where this page comes from
- arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- π the page's license: Linux-man-pages-copyleft
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms