X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_bus_creds_new_from_pid.xml;h=b012d151fc26c95c435e7b2a194097d93c3f00e6;hp=302004d5a5c631f922ad4ff2278c42363d9073ac;hb=40672b99c7da7efd317fc31612504fe7d5ab0b65;hpb=4cf8496d0a5e85ec7610d166c5d35df3e6d02d1a diff --git a/man/sd_bus_creds_new_from_pid.xml b/man/sd_bus_creds_new_from_pid.xml index 302004d5a..b012d151f 100644 --- a/man/sd_bus_creds_new_from_pid.xml +++ b/man/sd_bus_creds_new_from_pid.xml @@ -1,4 +1,4 @@ - + @@ -21,7 +21,7 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + sd_bus_creds_new_from_pid @@ -59,28 +59,27 @@ along with systemd; If not, see . int sd_bus_creds_new_from_pid pid_t pid uint64_t creds_mask - sd_bus_creds** ret + sd_bus_creds **ret uint64_t sd_bus_creds_get_mask - const sd_bus_creds* c + const sd_bus_creds *c - sd_bus_creds* sd_bus_creds_ref - sd_bus_creds* c + sd_bus_creds *sd_bus_creds_ref + sd_bus_creds *c - sd_bus_creds* sd_bus_creds_unref - sd_bus_creds* c + sd_bus_creds *sd_bus_creds_unref + sd_bus_creds *c SD_BUS_CREDS_PID, - SD_BUS_CREDS_PID_STARTTIME, SD_BUS_CREDS_TID, SD_BUS_CREDS_UID, SD_BUS_CREDS_GID, @@ -118,7 +117,6 @@ along with systemd; If not, see . The information that will be stored is determined by creds_mask. It may contain a subset of ORed constants SD_BUS_CREDS_PID, - SD_BUS_CREDS_PID_STARTTIME, SD_BUS_CREDS_TID, SD_BUS_CREDS_UID, SD_BUS_CREDS_GID, @@ -149,7 +147,7 @@ along with systemd; If not, see . and other functions which correspond directly to the constants listed above. - A mask of fields which were actually sucessfully set + A mask of fields which were actually successfully set (acquired from /proc, etc.) can be retrieved with sd_bus_creds_get_mask(). If the credentials object was created with @@ -162,7 +160,7 @@ along with systemd; If not, see . object will not be destroyed until sd_bus_creds_unref has been called as many times plus once more. Once the reference count has dropped to zero, - c cannot be used anymore, so futher + c cannot be used anymore, so further calls to sd_bus_creds_ref(c) or sd_bus_creds_unref(c) are illegal. @@ -205,14 +203,14 @@ along with systemd; If not, see . - -ESRCH + -ESRCH Specified pid could not be found. - -EINVAL + -EINVAL Specified parameter is invalid (NULL in case of output @@ -220,7 +218,7 @@ along with systemd; If not, see . - -ENOMEM + -ENOMEM Memory allocation failed. @@ -233,7 +231,7 @@ along with systemd; If not, see . sd_bus_creds_new_from_pid() is available as a shared library, which can be compiled and linked to with the - libsystemd-bus pkg-config1 + libsystemd pkg-config1 file. @@ -246,7 +244,6 @@ along with systemd; If not, see . sd_bus_creds_ref3, sd_bus_creds_unref3, sd_bus_creds_get_pid3, - sd_bus_creds_get_pid_starttime3, sd_bus_creds_get_tid3, sd_bus_creds_get_uid3, sd_bus_creds_get_gid3,