Code Search for Developers
 
 
  

pwd.h from openap at Krugle


Show pwd.h syntax highlighted

#ifndef	__BB_PWD_H
#define	__BB_PWD_H

#if defined USE_SYSTEM_PWD_GRP
#include <pwd.h>
#else

#include <sys/types.h>
#include <features.h>
#include <stdio.h>

/* The passwd structure.  */
struct passwd
{
  char *pw_name;		/* Username.  */
  char *pw_passwd;		/* Password.  */
  uid_t pw_uid;			/* User ID.  */
  gid_t pw_gid;			/* Group ID.  */
  char *pw_gecos;		/* Real name.  */
  char *pw_dir;			/* Home directory.  */
  char *pw_shell;		/* Shell program.  */
};

extern void setpwent __P ((void));
extern void endpwent __P ((void));
extern struct passwd * getpwent __P ((void));

extern int putpwent __P ((__const struct passwd * __p, FILE * __f));
extern int getpw __P ((uid_t uid, char *buf));

extern struct passwd * fgetpwent __P ((FILE * file));

extern struct passwd * getpwuid __P ((__const uid_t));
extern struct passwd * getpwnam __P ((__const char *));

extern struct passwd * __getpwent __P ((__const int passwd_fd));

#endif /* USE_SYSTEM_PWD_GRP */
#endif /* __BB_PWD_H  */





See more files for this project here

openap

OpenAP is the complete distribution of open-source software that is required to produce a fully 802.11b compliant wireless access point. OpenAP is also a platform on which developers and hobbyists may realize their ideas. Since the build environment and s

Project homepage: http://savannah.nongnu.org/projects/openap
Programming language(s): Assembly,C
License: gpl2

  .indent.pro
  __getgrent.c
  __getpwent.c
  config.h
  fgetgrent.c
  fgetpwent.c
  getgrgid.c
  getgrnam.c
  getpw.c
  getpwnam.c
  getpwuid.c
  grent.c
  grp.h
  initgroups.c
  putpwent.c
  pwd.h
  pwent.c
  setgroups.c