view nt/inc/grp.h @ 65659:71ea8ba70056

(Fformat): Explicitly test for end of format string and don't use `index'.
author Richard M. Stallman <rms@gnu.org>
date Fri, 23 Sep 2005 18:22:46 +0000
parents 3723093a21fd
children 067115a6e738 2d92f5c9d6ae
line wrap: on
line source

/* Replacement grp.h file for building GNU Emacs on Windows.
   Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.

This file is part of GNU Emacs.

GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.  */

#ifndef _GRP_H
#define _GRP_H

#include <pwd.h> /* gid_t defined here */

/* Emacs uses only gr_name */
struct group {
  char *gr_name;	/* group name */
};

struct group *getgrgid(gid_t);

#endif /* _GRP_H */

/* arch-tag: 82840357-7946-4a87-9c97-c0281b49aca3
   (do not change this comment) */