1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-12 08:58:20 +03:00

man/examples: fix sd- header path

(cherry picked from commit 2548ce6a30a1183a7bbbd699aafdf81249a5fe4e)
(cherry picked from commit 52f60014056dcf3e5efd5edf0c67b721a18e723c)
(cherry picked from commit ea8070be46548f23e863504737a01d39fab2050b)
This commit is contained in:
Yu Watanabe 2024-04-03 04:22:36 +09:00 committed by Luca Boccassi
parent 3da73b0a15
commit 9d2165ea42
4 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
#include <assert.h>
#include <stdio.h>
#include <unistd.h>
#include <sd-event.h>
#include <systemd/sd-event.h>
int main(int argc, char **argv) {
pid_t pid = fork();

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdint.h>
#include <sd-hwdb.h>
#include <systemd/sd-hwdb.h>
int print_usb_properties(uint16_t vid, uint16_t pid) {
char match[128];

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sd-path.h>
#include <systemd/sd-path.h>
int main(void) {
int r;

View File

@ -3,7 +3,7 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <sd-bus.h>
#include <systemd/sd-bus.h>
int writer_with_negative_errno_return(int fd, sd_bus_error *error) {
const char *message = "Hello, World!\n";