From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: next release
Date: Mon, 26 Oct 1998 11:17:09 +0100 [thread overview]
Message-ID: <9810261017.AA25285@ibmth.df.unipi.it> (raw)
In-Reply-To: ""Zefram""'s message of "Mon, 26 Oct 1998 09:59:25 NFT." <199810260959.JAA00724@diamond.tao.co.uk>
"Zefram" wrote:
> Those people that have been having problems with ut_xtime on HP-UX:
> I've added a new autoconf test that should detect whether the ut_xtime
> member is actually available. A couple of people have posted indicating
> that the actual struct member to use is ut_tv.tv_sec. Can someone tell
> me whether this is the *only* name for the correct member, or is there
> a definition for ut_time in the system header?
Here's the definition of struct utmpx from utmpx.h on a HP-UX B.10.20
machine (dunno if the B. is important). There's a lot of conditional
compilation but there's no sign of ut_time, only ut_tv; same elsewhere
in utmpx.h. ut_time is present in struct utmp defined in utmp.h,
however.
struct utmpx
{
char ut_user[24] ; /* User login name */
char ut_id[4] ; /* /etc/lines id(usually line #) */
char ut_line[12] ; /* device name (console, lnxx) */
pid_t ut_pid ; /* process id */
short ut_type ; /* type of entry */
struct __exit_status
#ifndef _STRUCT___EXIT_STATUS
# define _STRUCT___EXIT_STATUS
{
short __e_termination ;
short __e_exit ;
}
#endif /* _STRUCT___EXIT_STATUS */
ut_exit;
unsigned short ut_reserved1 ; /* Reserved for future use */
struct timeval
#ifndef _STRUCT_TIMEVAL
# define _STRUCT_TIMEVAL
{
time_t tv_sec; /* seconds */
long tv_usec; /* and microseconds */
}
#endif /* _STRUCT_TIMEVAL */
ut_tv; /* time entry was made */
char ut_host[64] ; /* host name, if remote;
NOT SUPPORTED */
unsigned long ut_addr ; /* Internet addr of host, if remote */
char ut_reserved2[12] ; /* Reserved for future use */
} ;
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarotti 2, 56100 Pisa, Italy
next prev parent reply other threads:[~1998-10-26 10:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-26 9:59 Zefram
1998-10-26 10:17 ` Peter Stephenson [this message]
1998-10-27 16:15 ` Geoff Wing
2011-12-09 14:11 Next release Peter Stephenson
2011-12-09 16:37 ` Bart Schaefer
2011-12-09 16:42 ` Peter Stephenson
2011-12-09 19:50 ` Frank Terbeck
2011-12-10 17:19 ` Peter Stephenson
2011-12-10 19:20 ` Frank Terbeck
2011-12-10 19:46 ` Peter Stephenson
2011-12-10 19:55 ` Frank Terbeck
2011-12-09 23:38 ` Phil Pennock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9810261017.AA25285@ibmth.df.unipi.it \
--to=pws@ibmth.df.unipi.it \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).