From b7ea3f3ed6204dca31f8f2a84b667c1783259c5b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 18 Oct 2014 16:20:24 +0200 Subject: [PATCH 1/1] man: suffix C functions with () --- man/sd_bus_creds_get_pid.xml | 64 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index 635876247..fcc555716 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -235,72 +235,72 @@ along with systemd; If not, see . of a connection. - sd_bus_creds_get_pid will retrieve the + sd_bus_creds_get_pid() will retrieve the PID (process identifier). - sd_bus_creds_get_pid_starttime will + sd_bus_creds_get_pid_starttime() will retrieve the time since the start of the epoch in microseconds since the process was started. - sd_bus_creds_get_tid will retrieve the + sd_bus_creds_get_tid() will retrieve the TID (thread identifier). - sd_bus_creds_get_uid will retrieve the + sd_bus_creds_get_uid() will retrieve the numeric UID (user identifier). - sd_bus_creds_get_gid will retrieve the + sd_bus_creds_get_gid() will retrieve the numeric GID (group identifier). - sd_bus_creds_get_comm will retrieve the + sd_bus_creds_get_comm() will retrieve the comm field (truncated name of the executable, as stored in /proc/pid/comm). - sd_bus_creds_get_tid_comm will retrieve + sd_bus_creds_get_tid_comm() will retrieve the comm field of the thread (as stored in /proc/pid/task/tid/comm). - sd_bus_creds_get_exe will retrieve the + sd_bus_creds_get_exe() will retrieve the path to the program (as stored in the /proc/pid/exe link, but with (deleted) suffix removed). - sd_bus_creds_get_cmdline will retrieve + sd_bus_creds_get_cmdline() will retrieve an array of command-line arguments (as stored in /proc/pid/cmdline). - sd_bus_creds_get_cgroup will retrieve + sd_bus_creds_get_cgroup() will retrieve the cgroup path. See cgroups.txt. - sd_bus_creds_get_unit will retrieve the + sd_bus_creds_get_unit() will retrieve the systemd unit name (in the system instance of systemd) that the process is part of. See systemd.unit5. - sd_bus_creds_get_user_unit will + sd_bus_creds_get_user_unit() will retrieve the systemd unit name (in the user instance of systemd) that the process is part of. See systemd.unit5. - sd_bus_creds_get_slice will retrieve + sd_bus_creds_get_slice() will retrieve the systemd slice (a unit in the system instance of systemd) that the process is part of. See systemd.slice5. - sd_bus_creds_get_session will retrieve + sd_bus_creds_get_session() will retrieve the logind session that the process is part of. See systemd-logind.service8. - sd_bus_creds_get_owner_uid will retrieve + sd_bus_creds_get_owner_uid() will retrieve the numeric UID (user identifier) of the user who owns the slice that the process is part of. See systemd.slice5 @@ -308,7 +308,7 @@ along with systemd; If not, see . systemd-user-sessions.service8 -->. - sd_bus_creds_has_effective_cap will + sd_bus_creds_has_effective_cap() will check whether the capability specified by capability was set in the effective capabilities mask. A positive return value means that is was @@ -320,34 +320,34 @@ along with systemd; If not, see . systemd.exec5. - sd_bus_creds_has_permitted_cap is - similar to sd_bus_creds_has_effective_cap, + sd_bus_creds_has_permitted_cap() is + similar to sd_bus_creds_has_effective_cap(), but will check the permitted capabilities mask. - sd_bus_creds_has_inheritable_cap is - similar to sd_bus_creds_has_effective_cap, + sd_bus_creds_has_inheritable_cap() is + similar to sd_bus_creds_has_effective_cap(), but will check the inheritable capabilities mask. - sd_bus_creds_has_bounding_cap is - similar to sd_bus_creds_has_effective_cap, + sd_bus_creds_has_bounding_cap() is + similar to sd_bus_creds_has_effective_cap(), but will check the bounding capabilities mask. - sd_bus_creds_get_selinux_context will + sd_bus_creds_get_selinux_context() will retrieve the SELinux security context (label) of the process. - sd_bus_creds_get_audit_session_id will + sd_bus_creds_get_audit_session_id() will retrieve the audit session identifier of the process. - sd_bus_creds_get_audit_login_uid will + sd_bus_creds_get_audit_login_uid() will retrieve the audit user login identifier (the identifier of the user who is "responsible" for the session). - sd_bus_creds_get_unique_name will + sd_bus_creds_get_unique_name() will retrieve the D-Bus unique name. See The D-Bus specification. - sd_bus_creds_get_well_known_names will + sd_bus_creds_get_well_known_names() will retrieve the set of D-Bus well-known names. See The D-Bus specification. @@ -392,11 +392,11 @@ along with systemd; If not, see . -ENOENT Given field is not specified for the sender. - This will be returned by sd_bus_get_unit, - sd_bus_get_user_unit, - sd_bus_get_slice, - sd_bus_get_session, and - sd_bus_get_owner_uid if the sender is not + This will be returned by sd_bus_get_unit(), + sd_bus_get_user_unit(), + sd_bus_get_slice(), + sd_bus_get_session(), and + sd_bus_get_owner_uid() if the sender is not part of a systemd system unit, systemd user unit, systemd slice, logind session, or a systemd user session. -- 2.30.2