www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/11/15/17:48:38

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <002d01c28cf8$c729f930$0201a8c0@sos>
From: "Sergey Okhapkin" <sos AT prospect DOT com DOT ru>
To: <cygwin-developers AT cygwin DOT com>
References: <002201c28cf5$861c8f50$0201a8c0 AT sos> <20021115223146 DOT GC28250 AT redhat DOT com>
Subject: Re: Want to release 1.3.16
Date: Fri, 15 Nov 2002 17:46:01 -0500
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Virus-Scanned: by amavisd-milter (http://amavis.org/)

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019