libkypowermanagement(3)

libkypowermanagement3

提供锁屏设置能力

Usage

#include <libkylockscreen.h>

extern uint32_t kdk_set_inhibit_lockscreen(const char *appName, const char *reason);

extern int kdk_un_inhibit_lockscreen(uint32_t flag);

Link with -lkypowermanagement.

Detailed Description

This library provides lock screen setting capabilities.

Return value

The return value is generally specific to the individual function called.

Conforming to

These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: kdk_set_inhibit_lockscreen() and kdk_un_inhibit_lockscreen().

From libkysdk-system 3.0.1.4-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.