grp.mh
来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 37 行
MH
37 行
/*
* grp.h group structure and prototypes
*
:include crwatqnx.sp
*/
#ifndef _GRP_H_INCLUDED
#define _GRP_H_INCLUDED
:include readonly.sp
:include cpluspro.sp
#ifndef __TYPES_H_INCLUDED
#include <sys/types.h>
#endif
:include pshpackl.sp
struct group {
char *gr_name; /* group's name */
char *gr_passwd; /* group's password */
gid_t gr_gid; /* group ID number */
char **gr_mem; /* group members */
};
:include poppack.sp
/*
* POSIX 1003.1 Prototypes.
*/
_WCRTLINK extern struct group *getgrnam( const char *__name );
_WCRTLINK extern struct group *getgruid( gid_t __gid );
_WCRTLINK extern struct group *getgrent( void );
_WCRTLINK extern int setgrent( void );
_WCRTLINK extern int endgrent( void );
:include cplusepi.sp
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?