id
stringlengths
4
63
text
stringlengths
153
8.81M
sd_device_get_sysnum(3)
NAME sd_device_get_syspath, sd_device_get_devpath, sd_device_get_sysname, sd_device_get_sysnum, sd_device_get_subsystem, sd_device_get_driver_subsystem, sd_device_get_devtype, sd_device_get_devname, sd_device_get_devnum, sd_device_get_ifindex, sd_device_get_driver, sd_device_get_diskseq, sd_device_get_device_id - Retur...
sd_device_get_syspath(3)
NAME sd_device_get_syspath, sd_device_get_devpath, sd_device_get_sysname, sd_device_get_sysnum, sd_device_get_subsystem, sd_device_get_driver_subsystem, sd_device_get_devtype, sd_device_get_devname, sd_device_get_devnum, sd_device_get_ifindex, sd_device_get_driver, sd_device_get_diskseq, sd_device_get_device_id - Retur...
sd_device_ref(3)
NAME sd_device_ref, sd_device_unref, sd_device_unrefp - Create or destroy references to a device object SYNOPSIS #include <systemd/sd-device.h> sd_device* sd_device_ref(sd_device *device); sd_device* sd_device_unref(sd_device *device); void sd_device_unrefp(sd_device **device); sd_devic...
sd_device_unref(3)
NAME sd_device_ref, sd_device_unref, sd_device_unrefp - Create or destroy references to a device object SYNOPSIS #include <systemd/sd-device.h> sd_device* sd_device_ref(sd_device *device); sd_device* sd_device_unref(sd_device *device); void sd_device_unrefp(sd_device **device); sd_devic...
sd_device_unrefp(3)
NAME sd_device_ref, sd_device_unref, sd_device_unrefp - Create or destroy references to a device object SYNOPSIS #include <systemd/sd-device.h> sd_device* sd_device_ref(sd_device *device); sd_device* sd_device_unref(sd_device *device); void sd_device_unrefp(sd_device **device); sd_devic...
sd_done(9)
NAME sd_done - bottom half handler: called when the lower level driver has completed (successfully or otherwise) a scsi command. SYNOPSIS int sd_done (struct scsi_cmnd *SCpnt ); ARGUMENTS SCpnt mid-level's per command structure. NOTE potentially run from within an ISR. Must not block. SEE ALSO Kernel file ./d...
sd_eh_action(9)
NAME sd_eh_action - error handling callback SYNOPSIS int sd_eh_action (struct scsi_cmnd *scmd , int eh_disp ); ARGUMENTS scmd sd-issued command that has failed eh_disp The recovery disposition suggested by the midlayer DESCRIPTION This function is called by the SCSI midlayer upon completion of an ...
sd_eh_reset(9)
NAME sd_eh_reset - reset error handling callback SYNOPSIS void sd_eh_reset (struct scsi_cmnd *scmd ); ARGUMENTS scmd sd-issued command that has failed DESCRIPTION This function is called by the SCSI midlayer before starting SCSI EH. When counting medium access failures we have to be careful to register it o...
sd_event(3)
NAME sd_event_new, sd_event_default, sd_event_ref, sd_event_unref, sd_event_unrefp, sd_event_get_tid, sd_event - Acquire and release an event loop object SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event sd_event; int sd_event_new(sd_event **event); int sd_event_default(sd_event **...
sd_event_add_child(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_add_child_pidfd(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_add_defer(3)
NAME sd_event_add_defer, sd_event_add_post, sd_event_add_exit, sd_event_handler_t - Add static event sources to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); int sd_even...
sd_event_add_exit(3)
NAME sd_event_add_defer, sd_event_add_post, sd_event_add_exit, sd_event_handler_t - Add static event sources to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); int sd_even...
sd_event_add_inotify(3)
NAME sd_event_add_inotify, sd_event_add_inotify_fd, sd_event_source_get_inotify_mask, sd_event_source_get_inotify_path, sd_event_inotify_handler_t - Add an "inotify" file system inode event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; ty...
sd_event_add_inotify_fd(3)
NAME sd_event_add_inotify, sd_event_add_inotify_fd, sd_event_source_get_inotify_mask, sd_event_source_get_inotify_path, sd_event_inotify_handler_t - Add an "inotify" file system inode event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; ty...
sd_event_add_io(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_add_memory_pressure(3)
NAME sd_event_add_memory_pressure, sd_event_source_set_memory_pressure_type, sd_event_source_set_memory_pressure_period, sd_event_trim_memory - Add and configure an event source run as result of memory pressure SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; int s...
sd_event_add_post(3)
NAME sd_event_add_defer, sd_event_add_post, sd_event_add_exit, sd_event_handler_t - Add static event sources to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); int sd_even...
sd_event_add_signal(3)
NAME sd_event_add_signal, sd_event_source_get_signal, sd_event_signal_handler_t, SD_EVENT_SIGNAL_PROCMASK - Add a UNIX process signal event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; SD_EVENT_SIGNAL_PROCMASK typedef int (*sd_ev...
sd_event_add_time(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_add_time_relative(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_child_handler_t(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_default(3)
NAME sd_event_new, sd_event_default, sd_event_ref, sd_event_unref, sd_event_unrefp, sd_event_get_tid, sd_event - Acquire and release an event loop object SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event sd_event; int sd_event_new(sd_event **event); int sd_event_default(sd_event **...
sd_event_destroy_t(3)
NAME sd_event_source_set_destroy_callback, sd_event_source_get_destroy_callback, sd_event_destroy_t - Define the callback function for resource cleanup SYNOPSIS #include <systemd/sd-event.h> typedef int (*sd_event_destroy_t)(void *userdata); int sd_event_source_set_destroy_callback(sd_event_source *sou...
sd_event_dispatch(3)
NAME sd_event_wait, sd_event_prepare, sd_event_dispatch, sd_event_get_state, sd_event_get_iteration, SD_EVENT_INITIAL, SD_EVENT_PREPARING, SD_EVENT_ARMED, SD_EVENT_PENDING, SD_EVENT_RUNNING, SD_EVENT_EXITING, SD_EVENT_FINISHED - Low-level event loop operations SYNOPSIS #include <systemd/sd-event.h> enum { ...
sd_event_exit(3)
NAME sd_event_exit, sd_event_get_exit_code - Ask the event loop to exit SYNOPSIS #include <systemd/sd-event.h> int sd_event_exit(sd_event *event, int code); int sd_event_get_exit_code(sd_event *event, int *ret); DESCRIPTION sd_event_exit() requests the event loop specified in the event event loop obje...
sd_event_get_exit_code(3)
NAME sd_event_exit, sd_event_get_exit_code - Ask the event loop to exit SYNOPSIS #include <systemd/sd-event.h> int sd_event_exit(sd_event *event, int code); int sd_event_get_exit_code(sd_event *event, int *ret); DESCRIPTION sd_event_exit() requests the event loop specified in the event event loop obje...
sd_event_get_fd(3)
NAME sd_event_get_fd - Obtain a file descriptor to poll for event loop events SYNOPSIS #include <systemd/sd-event.h> int sd_event_get_fd(sd_event *event); DESCRIPTION sd_event_get_fd() returns the file descriptor that an event loop object returned by the sd_event_new(3) function uses to wait for events. This ...
sd_event_get_iteration(3)
NAME sd_event_wait, sd_event_prepare, sd_event_dispatch, sd_event_get_state, sd_event_get_iteration, SD_EVENT_INITIAL, SD_EVENT_PREPARING, SD_EVENT_ARMED, SD_EVENT_PENDING, SD_EVENT_RUNNING, SD_EVENT_EXITING, SD_EVENT_FINISHED - Low-level event loop operations SYNOPSIS #include <systemd/sd-event.h> enum { ...
sd_event_get_state(3)
NAME sd_event_wait, sd_event_prepare, sd_event_dispatch, sd_event_get_state, sd_event_get_iteration, SD_EVENT_INITIAL, SD_EVENT_PREPARING, SD_EVENT_ARMED, SD_EVENT_PENDING, SD_EVENT_RUNNING, SD_EVENT_EXITING, SD_EVENT_FINISHED - Low-level event loop operations SYNOPSIS #include <systemd/sd-event.h> enum { ...
sd_event_get_tid(3)
NAME sd_event_new, sd_event_default, sd_event_ref, sd_event_unref, sd_event_unrefp, sd_event_get_tid, sd_event - Acquire and release an event loop object SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event sd_event; int sd_event_new(sd_event **event); int sd_event_default(sd_event **...
sd_event_get_watchdog(3)
NAME sd_event_set_watchdog, sd_event_get_watchdog - Enable event loop watchdog support SYNOPSIS #include <systemd/sd-event.h> int sd_event_set_watchdog(sd_event *event, int b); int sd_event_get_watchdog(sd_event *event); DESCRIPTION sd_event_set_watchdog() may be used to enable or disable automatic wa...
sd_event_handler_t(3)
NAME sd_event_add_defer, sd_event_add_post, sd_event_add_exit, sd_event_handler_t - Add static event sources to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); int sd_even...
sd_event_inotify_handler_t(3)
NAME sd_event_add_inotify, sd_event_add_inotify_fd, sd_event_source_get_inotify_mask, sd_event_source_get_inotify_path, sd_event_inotify_handler_t - Add an "inotify" file system inode event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; ty...
sd_event_io_handler_t(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_loop(3)
NAME sd_event_run, sd_event_loop - Run an event loop SYNOPSIS #include <systemd/sd-event.h> int sd_event_run(sd_event *event, uint64_t usec); int sd_event_loop(sd_event *event); DESCRIPTION sd_event_run() may be used to run a single iteration of the event loop specified in the event parameter. The fun...
sd_event_new(3)
NAME sd_event_new, sd_event_default, sd_event_ref, sd_event_unref, sd_event_unrefp, sd_event_get_tid, sd_event - Acquire and release an event loop object SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event sd_event; int sd_event_new(sd_event **event); int sd_event_default(sd_event **...
sd_event_now(3)
NAME sd_event_now - Retrieve current event loop iteration timestamp SYNOPSIS #include <systemd/sd-event.h> int sd_event_now(sd_event *event, clockid_t clock, uint64_t *ret); DESCRIPTION sd_event_now() returns the time when the most recent event loop iteration began. A timestamp is taken right after returning ...
sd_event_prepare(3)
NAME sd_event_wait, sd_event_prepare, sd_event_dispatch, sd_event_get_state, sd_event_get_iteration, SD_EVENT_INITIAL, SD_EVENT_PREPARING, SD_EVENT_ARMED, SD_EVENT_PENDING, SD_EVENT_RUNNING, SD_EVENT_EXITING, SD_EVENT_FINISHED - Low-level event loop operations SYNOPSIS #include <systemd/sd-event.h> enum { ...
sd_event_ref(3)
NAME sd_event_new, sd_event_default, sd_event_ref, sd_event_unref, sd_event_unrefp, sd_event_get_tid, sd_event - Acquire and release an event loop object SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event sd_event; int sd_event_new(sd_event **event); int sd_event_default(sd_event **...
sd_event_run(3)
NAME sd_event_run, sd_event_loop - Run an event loop SYNOPSIS #include <systemd/sd-event.h> int sd_event_run(sd_event *event, uint64_t usec); int sd_event_loop(sd_event *event); DESCRIPTION sd_event_run() may be used to run a single iteration of the event loop specified in the event parameter. The fun...
sd_event_set_signal_exit(3)
NAME sd_event_set_signal_exit - Automatically leave event loop on SIGINT and SIGTERM SYNOPSIS #include <systemd/sd-event.h> int sd_event_set_signal_exit(sd_event *event, int b); DESCRIPTION sd_event_set_signal_exit() may be used to ensure the event loop terminates once a SIGINT or SIGTERM signal is received. ...
sd_event_set_watchdog(3)
NAME sd_event_set_watchdog, sd_event_get_watchdog - Enable event loop watchdog support SYNOPSIS #include <systemd/sd-event.h> int sd_event_set_watchdog(sd_event *event, int b); int sd_event_get_watchdog(sd_event *event); DESCRIPTION sd_event_set_watchdog() may be used to enable or disable automatic wa...
sd_event_signal_handler_t(3)
NAME sd_event_add_signal, sd_event_source_get_signal, sd_event_signal_handler_t, SD_EVENT_SIGNAL_PROCMASK - Add a UNIX process signal event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; SD_EVENT_SIGNAL_PROCMASK typedef int (*sd_ev...
sd_event_source(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_disable_unref(3)
NAME sd_event_source_unref, sd_event_source_unrefp, sd_event_source_ref, sd_event_source_disable_unref, sd_event_source_disable_unrefp - Increase or decrease event source reference counters SYNOPSIS #include <systemd/sd-event.h> sd_event_source* sd_event_source_unref(sd_event_source *source); void sd_e...
sd_event_source_disable_unrefp(3)
NAME sd_event_source_unref, sd_event_source_unrefp, sd_event_source_ref, sd_event_source_disable_unref, sd_event_source_disable_unrefp - Increase or decrease event source reference counters SYNOPSIS #include <systemd/sd-event.h> sd_event_source* sd_event_source_unref(sd_event_source *source); void sd_e...
sd_event_source_get_child_pid(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_get_child_pidfd(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_get_child_pidfd_own(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_get_child_process_own(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_get_description(3)
NAME sd_event_source_set_description, sd_event_source_get_description - Set or retrieve descriptive names of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_description(sd_event_source *source, const char *description); int sd_event_source_get_description(sd_event_source *s...
sd_event_source_get_destroy_callback(3)
NAME sd_event_source_set_destroy_callback, sd_event_source_get_destroy_callback, sd_event_destroy_t - Define the callback function for resource cleanup SYNOPSIS #include <systemd/sd-event.h> typedef int (*sd_event_destroy_t)(void *userdata); int sd_event_source_set_destroy_callback(sd_event_source *sou...
sd_event_source_get_enabled(3)
NAME sd_event_source_set_enabled, sd_event_source_get_enabled, SD_EVENT_ON, SD_EVENT_OFF, SD_EVENT_ONESHOT - Enable or disable event sources SYNOPSIS #include <systemd/sd-event.h> enum { SD_EVENT_OFF = 0, SD_EVENT_ON = 1, SD_EVENT_ONESHOT = -1, }; int...
sd_event_source_get_event(3)
NAME sd_event_source_get_event - Retrieve the event loop of an event source SYNOPSIS #include <systemd/sd-event.h> sd_event* sd_event_source_get_event(sd_event_source *source); DESCRIPTION sd_event_source_get_event() may be used to retrieve the event loop object the event source object specified as source is ...
sd_event_source_get_exit_on_failure(3)
NAME sd_event_source_set_exit_on_failure, sd_event_source_get_exit_on_failure - Set or retrieve the exit-on-failure feature of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_exit_on_failure(sd_event_source *source, int b); int sd_event_source_get_exit_on_failure(sd_event_s...
sd_event_source_get_floating(3)
NAME sd_event_source_set_floating, sd_event_source_get_floating - Set or retrieve 'floating' state of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_floating(sd_event_source *source, int floating); int sd_event_source_get_floating(sd_event_source *source); DESCRIPTION sd_...
sd_event_source_get_inotify_mask(3)
NAME sd_event_add_inotify, sd_event_add_inotify_fd, sd_event_source_get_inotify_mask, sd_event_source_get_inotify_path, sd_event_inotify_handler_t - Add an "inotify" file system inode event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; ty...
sd_event_source_get_inotify_path(3)
NAME sd_event_add_inotify, sd_event_add_inotify_fd, sd_event_source_get_inotify_mask, sd_event_source_get_inotify_path, sd_event_inotify_handler_t - Add an "inotify" file system inode event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; ty...
sd_event_source_get_io_events(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_get_io_fd(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_get_io_fd_own(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_get_io_revents(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_get_pending(3)
NAME sd_event_source_get_pending - Determine pending state of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_get_pending(sd_event_source *source); DESCRIPTION sd_event_source_get_pending() may be used to determine whether the event source object specified as source has seen events bu...
sd_event_source_get_priority(3)
NAME sd_event_source_set_priority, sd_event_source_get_priority, SD_EVENT_PRIORITY_IMPORTANT, SD_EVENT_PRIORITY_NORMAL, SD_EVENT_PRIORITY_IDLE - Set or retrieve the priority of event sources SYNOPSIS #include <systemd/sd-event.h> enum { SD_EVENT_PRIORITY_IMPORTANT = -100, SD_EVENT...
sd_event_source_get_ratelimit(3)
NAME sd_event_source_set_ratelimit, sd_event_source_get_ratelimit, sd_event_source_is_ratelimited, sd_event_source_set_ratelimit_expire_callback, sd_event_source_leave_ratelimit - Configure rate limiting on event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_ratelimit(sd_event_source *...
sd_event_source_get_signal(3)
NAME sd_event_add_signal, sd_event_source_get_signal, sd_event_signal_handler_t, SD_EVENT_SIGNAL_PROCMASK - Add a UNIX process signal event source to an event loop SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; SD_EVENT_SIGNAL_PROCMASK typedef int (*sd_ev...
sd_event_source_get_time(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_source_get_time_accuracy(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_source_get_time_clock(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_source_get_userdata(3)
NAME sd_event_source_set_userdata, sd_event_source_get_userdata - Set or retrieve user data pointer of event sources SYNOPSIS #include <systemd/sd-event.h> void* sd_event_source_set_userdata(sd_event_source *source, void *userdata); void* sd_event_source_get_userdata(sd_event_source *source); DESCRIPT...
sd_event_source_is_ratelimited(3)
NAME sd_event_source_set_ratelimit, sd_event_source_get_ratelimit, sd_event_source_is_ratelimited, sd_event_source_set_ratelimit_expire_callback, sd_event_source_leave_ratelimit - Configure rate limiting on event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_ratelimit(sd_event_source *...
sd_event_source_leave_ratelimit(3)
NAME sd_event_source_set_ratelimit, sd_event_source_get_ratelimit, sd_event_source_is_ratelimited, sd_event_source_set_ratelimit_expire_callback, sd_event_source_leave_ratelimit - Configure rate limiting on event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_ratelimit(sd_event_source *...
sd_event_source_ref(3)
NAME sd_event_source_unref, sd_event_source_unrefp, sd_event_source_ref, sd_event_source_disable_unref, sd_event_source_disable_unrefp - Increase or decrease event source reference counters SYNOPSIS #include <systemd/sd-event.h> sd_event_source* sd_event_source_unref(sd_event_source *source); void sd_e...
sd_event_source_send_child_signal(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_set_child_pidfd_own(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_set_child_process_own(3)
NAME sd_event_add_child, sd_event_add_child_pidfd, sd_event_source_get_child_pid, sd_event_source_get_child_pidfd, sd_event_source_get_child_pidfd_own, sd_event_source_set_child_pidfd_own, sd_event_source_get_child_process_own, sd_event_source_set_child_process_own, sd_event_source_send_child_signal, sd_event_child_han...
sd_event_source_set_description(3)
NAME sd_event_source_set_description, sd_event_source_get_description - Set or retrieve descriptive names of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_description(sd_event_source *source, const char *description); int sd_event_source_get_description(sd_event_source *s...
sd_event_source_set_destroy_callback(3)
NAME sd_event_source_set_destroy_callback, sd_event_source_get_destroy_callback, sd_event_destroy_t - Define the callback function for resource cleanup SYNOPSIS #include <systemd/sd-event.h> typedef int (*sd_event_destroy_t)(void *userdata); int sd_event_source_set_destroy_callback(sd_event_source *sou...
sd_event_source_set_enabled(3)
NAME sd_event_source_set_enabled, sd_event_source_get_enabled, SD_EVENT_ON, SD_EVENT_OFF, SD_EVENT_ONESHOT - Enable or disable event sources SYNOPSIS #include <systemd/sd-event.h> enum { SD_EVENT_OFF = 0, SD_EVENT_ON = 1, SD_EVENT_ONESHOT = -1, }; int...
sd_event_source_set_exit_on_failure(3)
NAME sd_event_source_set_exit_on_failure, sd_event_source_get_exit_on_failure - Set or retrieve the exit-on-failure feature of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_exit_on_failure(sd_event_source *source, int b); int sd_event_source_get_exit_on_failure(sd_event_s...
sd_event_source_set_floating(3)
NAME sd_event_source_set_floating, sd_event_source_get_floating - Set or retrieve 'floating' state of event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_floating(sd_event_source *source, int floating); int sd_event_source_get_floating(sd_event_source *source); DESCRIPTION sd_...
sd_event_source_set_io_events(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_set_io_fd(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_set_io_fd_own(3)
NAME sd_event_add_io, sd_event_source_get_io_events, sd_event_source_set_io_events, sd_event_source_get_io_revents, sd_event_source_get_io_fd, sd_event_source_set_io_fd, sd_event_source_get_io_fd_own, sd_event_source_set_io_fd_own, sd_event_source, sd_event_io_handler_t - Add an I/O event source to an event loop SYNOP...
sd_event_source_set_memory_pressure_period(3)
NAME sd_event_add_memory_pressure, sd_event_source_set_memory_pressure_type, sd_event_source_set_memory_pressure_period, sd_event_trim_memory - Add and configure an event source run as result of memory pressure SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; int s...
sd_event_source_set_memory_pressure_type(3)
NAME sd_event_add_memory_pressure, sd_event_source_set_memory_pressure_type, sd_event_source_set_memory_pressure_period, sd_event_trim_memory - Add and configure an event source run as result of memory pressure SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; int s...
sd_event_source_set_prepare(3)
NAME sd_event_source_set_prepare - Set a preparation callback for event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_prepare(sd_event_source *source, sd_event_handler_t callback); typedef int (*sd_event_handler_t)(sd_event_source *s, void *userdata); DESCRIPTION sd_event_sour...
sd_event_source_set_priority(3)
NAME sd_event_source_set_priority, sd_event_source_get_priority, SD_EVENT_PRIORITY_IMPORTANT, SD_EVENT_PRIORITY_NORMAL, SD_EVENT_PRIORITY_IDLE - Set or retrieve the priority of event sources SYNOPSIS #include <systemd/sd-event.h> enum { SD_EVENT_PRIORITY_IMPORTANT = -100, SD_EVENT...
sd_event_source_set_ratelimit(3)
NAME sd_event_source_set_ratelimit, sd_event_source_get_ratelimit, sd_event_source_is_ratelimited, sd_event_source_set_ratelimit_expire_callback, sd_event_source_leave_ratelimit - Configure rate limiting on event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_ratelimit(sd_event_source *...
sd_event_source_set_ratelimit_expire_callback(3)
NAME sd_event_source_set_ratelimit, sd_event_source_get_ratelimit, sd_event_source_is_ratelimited, sd_event_source_set_ratelimit_expire_callback, sd_event_source_leave_ratelimit - Configure rate limiting on event sources SYNOPSIS #include <systemd/sd-event.h> int sd_event_source_set_ratelimit(sd_event_source *...
sd_event_source_set_time(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_source_set_time_accuracy(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_source_set_time_relative(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_source_set_userdata(3)
NAME sd_event_source_set_userdata, sd_event_source_get_userdata - Set or retrieve user data pointer of event sources SYNOPSIS #include <systemd/sd-event.h> void* sd_event_source_set_userdata(sd_event_source *source, void *userdata); void* sd_event_source_get_userdata(sd_event_source *source); DESCRIPT...
sd_event_source_unref(3)
NAME sd_event_source_unref, sd_event_source_unrefp, sd_event_source_ref, sd_event_source_disable_unref, sd_event_source_disable_unrefp - Increase or decrease event source reference counters SYNOPSIS #include <systemd/sd-event.h> sd_event_source* sd_event_source_unref(sd_event_source *source); void sd_e...
sd_event_source_unrefp(3)
NAME sd_event_source_unref, sd_event_source_unrefp, sd_event_source_ref, sd_event_source_disable_unref, sd_event_source_disable_unrefp - Increase or decrease event source reference counters SYNOPSIS #include <systemd/sd-event.h> sd_event_source* sd_event_source_unref(sd_event_source *source); void sd_e...
sd_event_time_handler_t(3)
NAME sd_event_add_time, sd_event_add_time_relative, sd_event_source_get_time, sd_event_source_set_time, sd_event_source_set_time_relative, sd_event_source_get_time_accuracy, sd_event_source_set_time_accuracy, sd_event_source_get_time_clock, sd_event_time_handler_t - Add a timer event source to an event loop SYNOPSIS #...
sd_event_trim_memory(3)
NAME sd_event_add_memory_pressure, sd_event_source_set_memory_pressure_type, sd_event_source_set_memory_pressure_period, sd_event_trim_memory - Add and configure an event source run as result of memory pressure SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event_source sd_event_source; int s...
sd_event_unref(3)
NAME sd_event_new, sd_event_default, sd_event_ref, sd_event_unref, sd_event_unrefp, sd_event_get_tid, sd_event - Acquire and release an event loop object SYNOPSIS #include <systemd/sd-event.h> typedef struct sd_event sd_event; int sd_event_new(sd_event **event); int sd_event_default(sd_event **...