From b8f5c6d008f68ff930e2930964480431d7534fdb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 6 Jun 2018 11:59:04 +0200 Subject: [PATCH] man: xinclude the generic text to talk about libsystemd pkgconfig The only difference is that functions are not individually listed by name, but that seems completely pointless, since all functions that are documented are always exported, so the generic text tells the user all she or he needs to know. --- man/sd_bus_creds_get_pid.xml | 13 ++---------- man/sd_bus_creds_new_from_pid.xml | 13 ++---------- man/sd_bus_default.xml | 13 ++---------- man/sd_bus_error.xml | 12 ++--------- man/sd_bus_message_append.xml | 10 +--------- man/sd_bus_message_append_array.xml | 10 +--------- man/sd_bus_message_append_basic.xml | 12 ++--------- man/sd_bus_message_append_string_memfd.xml | 9 +-------- man/sd_bus_message_append_strv.xml | 10 +--------- man/sd_bus_message_get_cookie.xml | 14 +++---------- man/sd_bus_message_get_monotonic_usec.xml | 16 +++------------ man/sd_bus_negotiate_fds.xml | 12 ++--------- man/sd_bus_new.xml | 12 ++--------- man/sd_bus_slot_set_floating.xml | 11 ++--------- man/sd_bus_track_add_name.xml | 10 ++-------- man/sd_bus_track_new.xml | 10 ++-------- man/sd_get_seats.xml | 16 +++------------ man/sd_id128_get_machine.xml | 12 ++--------- man/sd_id128_randomize.xml | 12 ++--------- man/sd_id128_to_string.xml | 13 ++---------- man/sd_login_monitor_new.xml | 18 +++-------------- man/sd_machine_get_class.xml | 13 ++---------- man/sd_pid_get_owner_uid.xml | 22 +++------------------ man/sd_seat_get_active.xml | 17 +++------------- man/sd_session_is_active.xml | 23 +++------------------- man/sd_uid_get_state.xml | 12 +++-------- 26 files changed, 56 insertions(+), 289 deletions(-) diff --git a/man/sd_bus_creds_get_pid.xml b/man/sd_bus_creds_get_pid.xml index c5cd5544b..d6be3e563 100644 --- a/man/sd_bus_creds_get_pid.xml +++ b/man/sd_bus_creds_get_pid.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> - + sd_bus_creds_get_pid @@ -529,16 +529,7 @@ - - Notes - - sd_bus_creds_get_pid() and the other - functions described here are available as a shared library, which - can be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_creds_new_from_pid.xml b/man/sd_bus_creds_new_from_pid.xml index de56e387a..44bf6d454 100644 --- a/man/sd_bus_creds_new_from_pid.xml +++ b/man/sd_bus_creds_new_from_pid.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> - + sd_bus_creds_new_from_pid @@ -315,16 +315,7 @@ - - Notes - - sd_bus_creds_new_from_pid() and the - other calls described here are available as a shared library, - which can be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_default.xml b/man/sd_bus_default.xml index 693fa37b1..eb822b71c 100644 --- a/man/sd_bus_default.xml +++ b/man/sd_bus_default.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> - + sd_bus_default @@ -281,16 +281,7 @@ by returned. See sd_bus_send3. - - Notes - - sd_bus_open_user() and the other - functions described here are available as a shared library, which - can be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_error.xml b/man/sd_bus_error.xml index b133f27e5..27d9c10fa 100644 --- a/man/sd_bus_error.xml +++ b/man/sd_bus_error.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> - + sd_bus_error @@ -352,15 +352,7 @@ - - Notes - - sd_bus_set_error() and other functions - described here are available as a shared library, which can be - compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_append.xml b/man/sd_bus_message_append.xml index 27023e2a1..dcb6485b1 100644 --- a/man/sd_bus_message_append.xml +++ b/man/sd_bus_message_append.xml @@ -251,15 +251,7 @@ sd_bus_message_append(m, "ynqiuxtd", y, n, q, i, u, x, t, d); - - Notes - - sd_bus_open_user() and other functions - described here are available as a shared library, which can be - compiled and linked to with the - libelogind-bus pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_append_array.xml b/man/sd_bus_message_append_array.xml index a1a79ae2b..957aa9c14 100644 --- a/man/sd_bus_message_append_array.xml +++ b/man/sd_bus_message_append_array.xml @@ -176,15 +176,7 @@ - - Notes - - sd_bus_append_array() and other - functions described here are available as a shared library, which - can be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_append_basic.xml b/man/sd_bus_message_append_basic.xml index 0772bc7e4..2e57b92af 100644 --- a/man/sd_bus_message_append_basic.xml +++ b/man/sd_bus_message_append_basic.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> - + sd_bus_message_append_basic @@ -260,15 +260,7 @@ - - Notes - - The sd_bus_append_basic() function - described here is available as a shared library, which can be - compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_append_string_memfd.xml b/man/sd_bus_message_append_string_memfd.xml index ae3660cf7..88da2a7a4 100644 --- a/man/sd_bus_message_append_string_memfd.xml +++ b/man/sd_bus_message_append_string_memfd.xml @@ -119,14 +119,7 @@ - - Notes - - The functions described here are available as a shared library, - which can be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_append_strv.xml b/man/sd_bus_message_append_strv.xml index c007adc65..03cd7a994 100644 --- a/man/sd_bus_message_append_strv.xml +++ b/man/sd_bus_message_append_strv.xml @@ -80,15 +80,7 @@ - - Notes - - The sd_bus_append_append_strv() function - described here is available as a shared library, which can be - compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_get_cookie.xml b/man/sd_bus_message_get_cookie.xml index d5c470abe..6be91bca8 100644 --- a/man/sd_bus_message_get_cookie.xml +++ b/man/sd_bus_message_get_cookie.xml @@ -10,7 +10,8 @@ Copyright 2013 Lennart Poettering --> - + sd_bus_message_get_cookie @@ -111,16 +112,7 @@ - - Notes - - The sd_bus_message_get_cookie() and - sd_bus_message_get_reply_cookie() interfaces - are available as a shared library, which can be compiled and - linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_message_get_monotonic_usec.xml b/man/sd_bus_message_get_monotonic_usec.xml index 85448403f..f689eba5d 100644 --- a/man/sd_bus_message_get_monotonic_usec.xml +++ b/man/sd_bus_message_get_monotonic_usec.xml @@ -10,7 +10,8 @@ Copyright 2013 Lennart Poettering --> - + sd_bus_message_get_monotonic_usec @@ -141,18 +142,7 @@ - - Notes - - The - sd_bus_message_get_monotonic_usec(), - sd_bus_message_get_realtime_usec(), and - sd_bus_message_get_seqnum() interfaces are - available as a shared library, which can be compiled and linked to - with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_negotiate_fds.xml b/man/sd_bus_negotiate_fds.xml index 023846d18..b9e77f5a2 100644 --- a/man/sd_bus_negotiate_fds.xml +++ b/man/sd_bus_negotiate_fds.xml @@ -10,7 +10,7 @@ Copyright 2014 Lennart Poettering --> - + sd_bus_negotiate_fds @@ -140,15 +140,7 @@ - - Notes - - sd_bus_negotiate_fds() and the other - functions described here are available as a shared library, which - can be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_new.xml b/man/sd_bus_new.xml index 5546875a7..4468b78b8 100644 --- a/man/sd_bus_new.xml +++ b/man/sd_bus_new.xml @@ -10,7 +10,7 @@ Copyright 2014 Zbigniew Jędrzejewski-Szmek --> - + sd_bus_new @@ -152,15 +152,7 @@ - - Notes - - sd_bus_new() and other functions - described here are available as a shared library, which can be - compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_bus_slot_set_floating.xml b/man/sd_bus_slot_set_floating.xml index afae8629f..ef370a671 100644 --- a/man/sd_bus_slot_set_floating.xml +++ b/man/sd_bus_slot_set_floating.xml @@ -4,7 +4,7 @@ - + sd_bus_slot_set_floating @@ -96,14 +96,7 @@ - - Notes - - sd_bus_slot_set_floating() and sd_bus_slot_get_floating() are - available as a shared library, which can be compiled and linked to with the - libelogind pkg-config1 file. - + See Also diff --git a/man/sd_bus_track_add_name.xml b/man/sd_bus_track_add_name.xml index cb6105e7b..26a245a01 100644 --- a/man/sd_bus_track_add_name.xml +++ b/man/sd_bus_track_add_name.xml @@ -10,7 +10,7 @@ Copyright 2016 Lennart Poettering --> - + sd_bus_track_add_name @@ -229,13 +229,7 @@ - - Notes - - sd_bus_track_add_name() and the other calls described here are available as a shared library, - which can be compiled and linked to with the libelogind pkg-config1 file. - + See Also diff --git a/man/sd_bus_track_new.xml b/man/sd_bus_track_new.xml index b8e5e9632..43a5d50d5 100644 --- a/man/sd_bus_track_new.xml +++ b/man/sd_bus_track_new.xml @@ -10,7 +10,7 @@ Copyright 2016 Lennart Poettering --> - + sd_bus_track_new @@ -231,13 +231,7 @@ - - Notes - - sd_bus_track_new() and the other calls described here are available as a shared library, - which can be compiled and linked to with the libelogind pkg-config1 file. - + See Also diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml index b06c9c9f5..a301aca40 100644 --- a/man/sd_get_seats.xml +++ b/man/sd_get_seats.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> - + sd_get_seats @@ -121,18 +122,7 @@ - - Notes - - The sd_get_seats(), - sd_get_sessions(), - sd_get_uids() and - sd_get_machine_names() interfaces are - available as a shared library, which can be compiled and linked to - with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_id128_get_machine.xml b/man/sd_id128_get_machine.xml index f3e151760..a4a8fa444 100644 --- a/man/sd_id128_get_machine.xml +++ b/man/sd_id128_get_machine.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> - + sd_id128_get_machine @@ -123,15 +123,7 @@ empty or all zeros. - - Notes - - The sd_id128_get_machine(), sd_id128_get_machine_app_specific() - sd_id128_get_boot() and sd_id128_get_invocation() interfaces are - available as a shared library, which can be compiled and linked to with the - libelogind pkg-config1 file. - + Examples diff --git a/man/sd_id128_randomize.xml b/man/sd_id128_randomize.xml index 9e52176c2..6e0099303 100644 --- a/man/sd_id128_randomize.xml +++ b/man/sd_id128_randomize.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> - + sd_id128_randomize @@ -80,15 +80,7 @@ errno-style error code. - - Notes - - The sd_id128_randomize() interface is - available as a shared library, which can be compiled and linked to - with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_id128_to_string.xml b/man/sd_id128_to_string.xml index 28b35246c..f5232c6d9 100644 --- a/man/sd_id128_to_string.xml +++ b/man/sd_id128_to_string.xml @@ -10,7 +10,7 @@ Copyright 2012 Lennart Poettering --> - + sd_id128_to_string @@ -95,16 +95,7 @@ errno-style error code. - - Notes - - The sd_id128_to_string() and - sd_id128_from_string() interfaces are - available as a shared library, which can be compiled and linked to - with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index 764a7ecec..1f66c5f62 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> - + sd_login_monitor_new @@ -246,20 +247,7 @@ else { - - Notes - - The sd_login_monitor_new(), - sd_login_monitor_unref(), - sd_login_monitor_flush(), - sd_login_monitor_get_fd(), - sd_login_monitor_get_events() and - sd_login_monitor_get_timeout() - interfaces are available as a shared library, which can be - compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_machine_get_class.xml b/man/sd_machine_get_class.xml index f8d4bab99..5c450b29e 100644 --- a/man/sd_machine_get_class.xml +++ b/man/sd_machine_get_class.xml @@ -10,7 +10,7 @@ Copyright 2014 Lennart Poettering --> - + sd_machine_get_class @@ -116,16 +116,7 @@ - - Notes - - The sd_machine_get_class() and - sd_machine_get_ifindices() interfaces are - available as a shared library, which can be compiled and linked to - with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_pid_get_owner_uid.xml b/man/sd_pid_get_owner_uid.xml index 8bae9a3b0..56cffa1e3 100644 --- a/man/sd_pid_get_owner_uid.xml +++ b/man/sd_pid_get_owner_uid.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> - + sd_pid_get_owner_uid @@ -308,24 +309,7 @@ Notes - The sd_pid_get_session(), - sd_pid_get_unit(), - sd_pid_get_user_unit(), - sd_pid_get_owner_uid(), - sd_pid_get_machine_name(), - sd_pid_get_slice(), - sd_pid_get_user_slice(), - sd_peer_get_session(), - sd_peer_get_unit(), - sd_peer_get_user_unit(), - sd_peer_get_owner_uid(), - sd_peer_get_machine_name(), - sd_peer_get_slice() and - sd_peer_get_user_slice() interfaces are - available as a shared library, which can be compiled and linked to - with the libelogind pkg-config1 - file. + Note that the login session identifier as returned by sd_pid_get_session() diff --git a/man/sd_seat_get_active.xml b/man/sd_seat_get_active.xml index 973720afb..27a2a4a4a 100644 --- a/man/sd_seat_get_active.xml +++ b/man/sd_seat_get_active.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> - + sd_seat_get_active @@ -175,19 +176,7 @@ - - Notes - - The sd_seat_get_active(), - sd_seat_get_sessions(), - sd_seat_can_multi_session(), - sd_seat_can_tty() and - sd_seat_can_graphical() interfaces are - available as a shared library, which can be compiled and linked to - with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index 51bf2bfd0..ebe8f6ff4 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> - + sd_session_is_active @@ -316,25 +317,7 @@ - - Notes - - The sd_session_is_active(), - sd_session_get_state(), - sd_session_get_uid(), - sd_session_get_seat(), - sd_session_get_service(), - sd_session_get_type(), - sd_session_get_class(), - sd_session_get_display(), - sd_session_get_remote_host(), - sd_session_get_remote_user() and - sd_session_get_tty() - interfaces are available as a shared library, which can - be compiled and linked to with the - libelogind pkg-config1 - file. - + See Also diff --git a/man/sd_uid_get_state.xml b/man/sd_uid_get_state.xml index 7f35206ae..243958bbf 100644 --- a/man/sd_uid_get_state.xml +++ b/man/sd_uid_get_state.xml @@ -10,7 +10,8 @@ Copyright 2010 Lennart Poettering --> - + sd_uid_get_state @@ -197,14 +198,7 @@ - - Notes - - Functions described here are available as a shared library, - and can be compiled and linked to using the - libelogind pkg-config1 - entry. - + See Also -- 2.30.2