"Fossies" - the Fresh Open Source Software Archive

Member "usr/include/cygwin/grp.h" (19 Aug 2019, 751 Bytes) of package /windows/misc/cygwin-20190819-x86_64.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* cygwin/grp.h
    2    Written by Corinna Vinschen <corinna@vinschen.de>
    3 
    4 This file is part of Cygwin.
    5 
    6 This software is a copyrighted work licensed under the terms of the
    7 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
    8 details. */
    9 
   10 #ifndef _CYGWIN_GRP_H_
   11 #define _CYGWIN_GRP_H_
   12 
   13 #include <sys/types.h>
   14 
   15 #ifdef __cplusplus
   16 extern "C" {
   17 #endif
   18 
   19 #ifdef __INSIDE_CYGWIN__
   20 #ifdef __i386__
   21 struct __group16
   22 {
   23   char *gr_name;
   24   char *gr_passwd;
   25   __gid16_t gr_gid;
   26   char **gr_mem;
   27 };
   28 #endif
   29 
   30 struct group * getgrgid32 (gid_t gid);
   31 struct group * getgrnam32 (const char *name);
   32 gid_t getgid32 ();
   33 gid_t getegid32 ();
   34 #endif
   35 
   36 extern int getgrouplist (const char *, gid_t, gid_t *, int *);
   37 
   38 #ifdef __cplusplus
   39 }
   40 #endif
   41 
   42 #endif /* _CYGWIN_GRP_H_ */