Searched refs:read_etc_hostname (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/test/ |
D | test-hostname-setup.c | 12 TEST(read_etc_hostname) { in TEST() argument 23 assert_se(read_etc_hostname(path, &hostname) == 0); in TEST() 29 assert_se(read_etc_hostname(path, &hostname) == 0); in TEST() 36 assert_se(read_etc_hostname(path, &hostname) == 0); in TEST() 43 assert_se(read_etc_hostname(path, &hostname) == 0); in TEST() 51 assert_se(read_etc_hostname(path, &hostname) == -ENOENT); in TEST() 55 assert_se(read_etc_hostname("/non/existing", &hostname) == -ENOENT); in TEST()
|
/systemd-251/src/shared/ |
D | hostname-setup.c | 112 int read_etc_hostname(const char *path, char **ret) { in read_etc_hostname() function 164 r = read_etc_hostname(NULL, &b); in hostname_setup()
|
D | hostname-setup.h | 22 int read_etc_hostname(const char *path, char **ret);
|
D | discover-image.c | 1139 r = read_etc_hostname(path, &hostname); in image_read_metadata()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 109 r = read_etc_hostname(NULL, &c->data[PROP_STATIC_HOSTNAME]); in context_read_etc_hostname()
|