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:
parent
3da73b0a15
commit
9d2165ea42
@ -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();
|
||||
|
@ -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];
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sd-path.h>
|
||||
#include <systemd/sd-path.h>
|
||||
|
||||
int main(void) {
|
||||
int r;
|
||||
|
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user