From 145b84138f8b1fca851196451ab0f21a054ae754 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 15 Apr 2000 22:26:34 +0000 Subject: Update. * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. Before testing versions check that we actually loaded the object and whether we are in trace mode. If not loaded during tracing don't test versions in this object. (_dl_check_all_versions): Take new parameter and pass to _dl_check_map_versions. * sysdeps/generic/ldsodefs.h: Update prototypes for _dl_check_all_versions and _dl_check_map_versions. * elf/rtld.c (struct version_check_args): Add dotrace. (version_check_doit): Pass args->dotrace to _dl_check_all_versions. (dl_main): Pass info about trace mode to version_check_doit. * elf/dl-open.c (dl_open_worker): Pass zero as new argument to _dl_check_all_versions. * manual/users.texi (XPG Functions): Document utmpxname, getutmp, and getutmpx. Patch by Bryan Henderson . --- manual/users.texi | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) (limited to 'manual/users.texi') diff --git a/manual/users.texi b/manual/users.texi index efe0b530ad..64bf153f83 100644 --- a/manual/users.texi +++ b/manual/users.texi @@ -1322,12 +1322,41 @@ for @code{getutline}. @comment utmpx.h @comment XPG4.2 @deftypefun {struct utmpx *} pututxline (const struct utmpx *@var{utmp}) -The @code{pututxline} function provides functionality identical to +The @code{pututxline} function is functionally identical to @code{pututline}, but uses @code{struct utmpx} instead of @code{struct -utmp}. On the GNU system @code{pututxline} is simply an alias for +utmp}. On the GNU system, @code{pututxline} is simply an alias for @code{pututline}. @end deftypefun +@comment utmpx.h +@comment XPG4.2 +@deftypefun int utmpxname (const char *@var{file}) +The @code{utmpxname} function is functionally identical to +@code{utmpname}. On the GNU system, @code{utmpxname} is simply an +alias for @code{utmpname}. +@end deftypefun + +You can translate between a traditional @code{struct utmp} and an XPG +@code{struct utmpx} with the following functions. On the GNU system, +these functions are merely copies, since the two structures are +identical. + +@comment utmpx.h +@comment utmp.h +@comment GNU +@deftypefun int getutmp (const struct utmpx *utmpx, struct utmp *utmp) +@code{getutmp} copies the information, insofar as the structures are +compatible, from @var{utmpx} to @var{utmp}. +@end deftypefun + +@comment utmpx.h +@comment utmp.h +@comment GNU +@deftypefun int getutmpx (const struct utmp *utmp, struct utmpx *utmpx) +@code{getutmpx} copies the information, insofar as the structures are +compatible, from @var{utmp} to @var{utmpx}. +@end deftypefun + @node Logging In and Out @subsection Logging In and Out -- cgit 1.4.1