delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/23/06:55:50

From: dasilva AT woodmore DOT gsfc DOT nasa DOT gov (Arlindo da Silva)
Subject: Re: compile problems with gimp
23 Sep 1997 06:55:50 -0700 :
Message-ID: <199709231233.IAA07567.cygnus.gnu-win32@woodmore.gsfc.nasa.gov>
References: <34286126 DOT F92FD266 AT psu DOT edu>
Mime-Version: 1.0
To: mjz115 AT psu DOT edu (Michael Zawacki)
Cc: gnu-win32 AT cygnus DOT com

> 
>     I have come across an "undefined reference to" setpwent.  Has anyone
> heard of this function.  Gimp calls it with no parameters, and I can't
> find it in any of the include files in X11 or cygwin. Is this a motif
> call?
> 

From the man page on sunos4:

DESCRIPTION
     getpwent(), getpwuid() and getpwnam() each return a  pointer
     to  an  object  with  the following structure containing the
     fields of a line in the password file.   Each  line  in  the
     file  contains  a  passwd structure, declared in the <pwd.h>
     header file:
 
          struct    passwd {
               char *pw_name;
               char *pw_passwd;
               uid_t     pw_uid;
               gid_t     pw_gid;
               int  pw_quota;
               char *pw_comment;
               char *pw_gecos;
               char *pw_dir;
               char *pw_shell;
          };
          struct passwd *getpwent(), *getpwuid(), *getpwnam();

                                  
     
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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