Mail Archives: cygwin-developers/2002/11/15/17:48:38
Which linux version?-)
GETUTENT(3) Library functions GETUTENT(3)
NAME
getutent, getutid, getutline, pututline, setutent, endu
tent, utmpname - access utmp file entries
SYNOPSIS
#include <utmp.h>
struct utmp *getutent(void);
struct utmp *getutid(struct utmp *ut);
struct utmp *getutline(struct utmp *ut);
void pututline(struct utmp *ut);
[sos AT router sos]$ uname -a
Linux router.home 2.4.9-34 #1 Sat Jun 1 06:23:33 EDT 2002 i586 unknown
It's RedHat 7.2
Sergey Okhapkin
Somerset, NJ
----- Original Message -----
From: "Christopher Faylor" <cgf AT redhat DOT com>
To: <cygwin-developers AT cygwin DOT com>
Sent: Friday, November 15, 2002 5:31 PM
Subject: Re: Want to release 1.3.16
> On Fri, Nov 15, 2002 at 05:22:43PM -0500, Sergey Okhapkin wrote:
> >False alarm, more investigation required. On some systems the declaration
is
> >void pututline(...)
> >but on another ones
> >struct utmp *pututline(...)
> >
> >What is Unix 98 declaration?
>
> Since there is no SUSv? version, the linux version rules. That is:
>
> struct utmp *pututline(struct utmp *ut);
>
> apparently.
>
> Can we adhere to that?
>
> cgf
- Raw text -