* include/cygwin/grp.h: New file.
* include/cygwin/stat.h: Ditto. * include/cygwin/types.h: Add definitions for __off32_t, __off64_t, off_t, __uid16_t, __uid32_t, uid_t, __gid16_t, __gid32_t and gid_t. * include/sys/cygwin.h: Use correct uid and gid types.
This commit is contained in:
43
winsup/cygwin/include/cygwin/grp.h
Normal file
43
winsup/cygwin/include/cygwin/grp.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/* cygwin/grp.h
|
||||
|
||||
Copyright 2002 Red Hat Inc.
|
||||
Written by Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#ifndef _CYGWIN_GRP_H_
|
||||
#define _CYGWIN_GRP_H_
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __INSIDE_CYGWIN__
|
||||
struct __group16
|
||||
{
|
||||
char *gr_name;
|
||||
char *gr_passwd;
|
||||
__gid16_t gr_gid;
|
||||
char **gr_mem;
|
||||
};
|
||||
|
||||
struct __group32
|
||||
{
|
||||
char *gr_name;
|
||||
char *gr_passwd;
|
||||
__gid32_t gr_gid;
|
||||
char **gr_mem;
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _CYGWIN_GRP_H_ */
|
Reference in New Issue
Block a user