home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / osi / isode / vmsisode / vmsisode80_tar.Z / vmsisode80_tar / sockit / gccinclude / grp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-30  |  2.0 KB  |  54 lines

  1. /*
  2.  *        @(#)grp.h    1.1    (ULTRIX)    2/21/89
  3.  */
  4.  
  5. /************************************************************************
  6.  *                                    *
  7.  *            Copyright (c) 1985, 1987 by            *
  8.  *        Digital Equipment Corporation, Maynard, MA        *
  9.  *            All rights reserved.                *
  10.  *                                    *
  11.  *   This software is furnished under a license and may be used and    *
  12.  *   copied  only  in accordance with the terms of such license and    *
  13.  *   with the  inclusion  of  the  above  copyright  notice.   This    *
  14.  *   software  or  any  other copies thereof may not be provided or    *
  15.  *   otherwise made available to any other person.  No title to and    *
  16.  *   ownership of the software is hereby transferred.            *
  17.  *                                    *
  18.  *   This software is  derived  from  software  received  from  the    *
  19.  *   University    of   California,   Berkeley,   and   from   Bell    *
  20.  *   Laboratories.  Use, duplication, or disclosure is  subject  to    *
  21.  *   restrictions  under  license  agreements  with  University  of    *
  22.  *   California and with AT&T.                        *
  23.  *                                    *
  24.  *   The information in this software is subject to change  without    *
  25.  *   notice  and should not be construed as a commitment by Digital    *
  26.  *   Equipment Corporation.                        *
  27.  *                                    *
  28.  *   Digital assumes no responsibility for the use  or  reliability    *
  29.  *   of its software on equipment which is not supplied by Digital.    *
  30.  *                                    *
  31.  ************************************************************************/
  32. /************************************************************************
  33.  *            Modification History                *
  34.  *                                    *
  35.  *    Mark A. Parenti, 13-Jan-1988                    *
  36.  * 0001    Change gr_gid to type uid_t and add pad for POSIX compliance    *
  37.  *                                    *
  38.  *    Mark A. Parenti, 05-Aug-1988                    *
  39.  * 0002 Change gr_gid to type gid_t as per POSIX            *
  40.  *                                    *
  41.  ************************************************************************/
  42.  
  43. #include <sys/types.h>
  44.  
  45. struct    group { /* see getgrent(3) */
  46.     char    *gr_name;
  47.     char    *gr_passwd;
  48.     gid_t    gr_gid;
  49.     short    pad;
  50.     char    **gr_mem;
  51. };
  52.  
  53. struct group *getgrent(), *getgrgid(), *getgrnam();
  54.