跳转到主要内容

sd_varlink_set_relative_timeout

systemd

3

Set method call time-out

#include <systemd/sd-varlink.h>

int

uint64_t

usec

Description

This call is particularly useful for method calls issued via sd_varlink_observe() that shall remain open continuously for a long time.

Return Value

On success, sd_varlink_set_relative_timeout() returns a non-negative integer. On failure, it returns a negative errno-style error code.

Errors

Returned errors may indicate the following problems:

-EINVAL
An argument is invalid.

History

See Also

systemd(1), sd-varlink(3)