From cf123dac735e9783272ed0905213d50c0dbfd78b Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Mon, 15 Oct 2012 00:59:29 +0200 Subject: [PATCH 4/4] man: typo fixes --- man/sd_login_monitor_new.xml | 6 +++--- man/sd_notify.xml | 4 ++-- man/sd_pid_get_session.xml | 2 +- man/sd_seat_get_active.xml | 4 ++-- man/sd_uid_get_state.xml | 2 +- man/udev.xml | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index ce17159..35cb6b3 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -83,20 +83,20 @@ Description sd_login_monitor_new() may - be used to monitor login session, users and seats. Via + be used to monitor login sessions, users and seats. Via a monitor object a file descriptor can be integrated into an application defined event loop which is woken up each time a user logs in, logs out or a seat is added or removed, or a session, user, or seat changes state otherwise. The first parameter takes a string - which can be either seat (to get + which can be seat (to get only notifications about seats being added, removed or changed), session (to get only notifications about sessions being created or removed or changed) or uid (to get only notifications when a user changes state in respect to logins). If notifications shall be generated in all - these conditions, NULL may be passed. Note that in + these conditions, NULL may be passed. Note that in the future additional categories may be defined. The second parameter returns a monitor object and needs to be freed with the diff --git a/man/sd_notify.xml b/man/sd_notify.xml index 346ec8f..038587a 100644 --- a/man/sd_notify.xml +++ b/man/sd_notify.xml @@ -87,7 +87,7 @@ processes. The state parameter - should contain an newline-separated list of variable + should contain a newline-separated list of variable assignments, similar in style to an environment block. A trailing newline is implied if none is specified. The string may contain any kind of variable @@ -104,7 +104,7 @@ definition file has Type=notify set. The passed argument is a boolean "1" or "0". Since there is little - value in signalling non-readiness, the + value in signaling non-readiness, the only value daemons should send is "READY=1". diff --git a/man/sd_pid_get_session.xml b/man/sd_pid_get_session.xml index 7897a2c..9517795 100644 --- a/man/sd_pid_get_session.xml +++ b/man/sd_pid_get_session.xml @@ -114,7 +114,7 @@ and not being a shared process of a user this function will fail. - If the pid paramater of any + If the pid parameter of any of these functions is passed as 0 the operation is executed for the calling process. diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 778f9ae..b1d6d20 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -140,8 +140,8 @@ Return Value On success - sd_seat_get_active() return - return 0 or a positive integer. On success + sd_seat_get_active() + returns 0 or a positive integer. On success sd_seat_get_sessions() returns the number of entries in the session identifier array. If the test succeeds diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index 183e8a6..b7bc944 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -120,7 +120,7 @@ sd_uid_get_sessions() may be used to determine the current sessions of the - specified user. Acceptes a Unix user identifier as + specified user. Accepts a Unix user identifier as parameter. The require_active parameter controls whether the returned list shall consist of only those sessions where the user is diff --git a/man/udev.xml b/man/udev.xml index 0746618..7ec7a3f 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -94,7 +94,7 @@ extensions are ignored. Every line in the rules file contains at least one key-value pair. - There are two kind of keys: match and assignment. + There are two kinds of keys: match and assignment. If all match keys are matching against its value, the rule gets applied and the assignment keys get the specified value assigned. @@ -327,7 +327,7 @@ The name to use for a network interface. The name of a device node - can not be changed by udev, only additional symlinks can be created. + cannot be changed by udev, only additional symlinks can be created. -- 1.7.12.1