mcpp index

compat.xdmcp

#include

X Display Manager Control Protocol library

#include <X11/Xdmcp.h>
mcpp add compat.xdmcp@1.1.5

用法

来自本仓库自己的测试项目 —— CI 真的编译并运行过,不是为了网站写的。

#ifdef __linux__
#include <X11/Xauth.h>
#include <X11/Xdmcp.h>
int main() {
    ARRAY8 array{};
    const int allocated = XdmcpAllocARRAY8(&array, 1);
    if (allocated) XdmcpDisposeARRAY8(&array);
    char* auth_file = XauFileName();
    return allocated && auth_file != nullptr ? 0 : 1;
}
#else
int main() { return 0; }
#endif

tests/examples/gui-stack/tests/xorg.cpp · 项目 tests/examples/gui-stack

构建

targets
Xdmcp (shared)
language
c++23
C standard
c11
import std
no
include dirs
*/include, *

源文件 (8)

  • */Array.c
  • */Fill.c
  • */Flush.c
  • */Key.c
  • */Read.c
  • */Unwrap.c
  • */Wrap.c
  • */Write.c

版本

版本平台 镜像sha256
1.1.5 最新 Linux CN GLOBAL 31a7abc4f129…