LIBKYEDID(3)
✨ LIBKYEDID(3) ✨
okay bestie, so this is LIBKYEDID(3) from the Library Functions Manual, and it's literally all about pulling monitor info out of EDID data 💖 like, everything your display wants to tell you about itself, we're getting it. it's giving "let me introduce you to my screen" energy, no cap.
🌸 NAME 🌸
kdk_edid_get_interface, kdk_edid_get_gamma, kdk_edid_get_size, kdk_edid_get_max_resolution, kdk_edid_get_model, kdk_edid_get_visible_area, kdk_edid_get_manufacturer, kdk_edid_get_week, kdk_edid_get_year, kdk_edid_get_primary, kdk_edid_get_resolution, kdk_edid_get_ratio, kdk_edid_get_character, kdk_edid_freeall — 获取显示器信息
so yeah, that last bit is literally "get display information" and that's the whole vibe of this page 🫶 it's a whole squad of functions whose entire job is telling you stuff about your monitor.
🦋 SYNOPSIS 🦋
first things first, you gotta pull in the header:
#include <libkyedid.h>
then here's the whole lineup, exactly as they are, no edits bestie:
extern char** kdk_edid_get_interface();
extern float kdk_edid_get_gamma(char *name);
extern float kdk_edid_get_size(char *name);
extern char* kdk_edid_get_max_resolution(char *name);
extern char* kdk_edid_get_model(char *name);
extern char* kdk_edid_get_visible_area(char *name);
extern char* kdk_edid_get_manufacturer(char *name);
extern int kdk_edid_get_week(char *name);
extern int kdk_edid_get_year(char *name);
extern int kdk_edid_get_primary(char *name);
extern char* kdk_edid_get_resolution(char *name);
extern char* kdk_edid_get_ratio(char *name);
extern char* kdk_edid_get_character(char *name);
extern inline void kdk_edid_freeall(char **ptr);
and when you compile, you link it like this — don't forget it, she's required:
Link with -lkyedid.
💅 Detailed Description 💅
This library contains bluetooth information.
okay bestie, that's literally what the page says, word for word, so we're keeping it exactly like that 🙈 no notes, i don't make the rules, i just relay them.
🎀 RETURN VALUE 🎀
The return value is generally specific to the individual function called.
like, each function does its own thing and hands back its own thing — no universal answer here, you gotta check the function you actually called, iykyk ✨
👑 CONFORMING TO 👑
These functions are as per the withdrawn POSIX.1e draft specification.
⚠️ withdrawn, bestie. as in, gone, retired, no longer a thing. the spec said goodbye and these functions are still standing there like 💀
The following functions are Linux extensions: kdk_edid_get_interface(), kdk_edid_get_gamma(), kdk_edid_get_size(), kdk_edid_get_max_resolution(), kdk_edid_get_model(), kdk_edid_get_visible_area(), kdk_edid_get_manufacturer(), kdk_edid_get_week(), kdk_edid_get_year(), kdk_edid_get_primary(), kdk_edid_get_resolution(), kdk_edid_get_ratio(), kdk_edid_get_character() and kdk_edid_freeall().
so basically the entire cast 💜 all of them are Linux extensions, every single one, main character energy from top to bottom.
🌈 SEE ALSO 🌈
go read these next, they're all right here waiting for you:
kdk_edid_get_interface(3)kdk_edid_get_gamma(3)kdk_edid_get_size(3)kdk_edid_get_max_resolution(3)kdk_edid_get_model(3)kdk_edid_get_visible_area(3)kdk_edid_get_manufacturer(3)kdk_edid_get_week(3)kdk_edid_get_year(3)kdk_edid_get_primary(3)kdk_edid_get_resolution(3)kdk_edid_get_ratio(3)kdk_edid_get_character(3)kdk_edid_freeall(3)
and that's the whole page, bestie!! 🎀 this one came from the Linux Programmer's Manual, dated Fri Aug 25 2023, and it lives under LIBKYEDID(3) — mwah, iconic, go get those monitor deets 💖✨🦋
📦 where this page comes from
- arch rolling: libkysdk-system 3.0.1.4-1 · LGPL-3.0-or-later AND LGPL-2.1-only OR LGPL-3.0-only AND LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR LGPL-3.0-only WITH Qt-LGPL-exception-1.1 AND MIT
- ubuntu resolute: libkysdk-system-dev 3.0.1.2-0ubuntu1 · LGPL-3.0-only
- ubuntu stonking: libkysdk-system-dev 3.0.1.3-0ubuntu1 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms