]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/id128-app-specific.c
Merge pull request #8822 from fbuihuu/rfc-tmpfiles-safe-upstream
[thirdparty/systemd.git] / man / id128-app-specific.c
CommitLineData
787f78b6
ZJS
1#include <stdio.h>
2#include <systemd/sd-id128.h>
3
4#define OUR_APPLICATION_ID SD_ID128_MAKE(c2,73,27,73,23,db,45,4e,a6,3b,b9,6e,79,b5,3e,97)
5
6int main(int argc, char *argv[]) {
7 sd_id128_t id;
8 sd_id128_get_machine_app_specific(OUR_APPLICATION_ID, &id);
9 printf("Our application ID: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(id));
10 return 0;
11}